我在互联网上搜索了一些关于IT技术的内容,但我不确定具体该怎么做。
我发现我需要在我的Program.csproj文件中包含一些代码。
当我打开Program.csproj文件时,它显示:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectView>ShowAllFiles</ProjectView>
</PropertyGroup>
</Project>
以下是我需要包含的代码:
<Reference
Include="System, Version=1.0.66.0, Culture=neutral, processorArchitecture=MSIL"
Condition=" '$(Platform)' == 'AnyCPU' ">
<SpecificVersion>False</SpecificVersion>
<HintPath>library\sqlite\x32\System.Data.SQLite.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference
Include="System, Version=1.0.66.0, processorArchitecture=MSIL"
Condition=" '$(Platform)' == 'x64' ">
<SpecificVersion>False</SpecificVersion>
<HintPath>library\sqlite\x64\System.Data.SQLite.DLL</HintPath>
</Reference>
但我不确定这是否正确,因为我的程序从根目录中获取所有dll文件,而不是从“library\sqlite\”中获取。
有人可以帮我正确地做吗?我就是搞不对。