其中一个 css 文件在发布期间从发布 obj/Release/Package/PackageTmp/ 文件夹中消失,然后 VS 告诉我它找不到该文件。就好像项目的一部分说要删除该文件,而另一部分则试图找到该文件。有任何想法吗?我希望我提供了足够的信息。它很短,但据我所知,它几乎总结了这个问题。
csproj 文件。我唯一遇到的问题是survey.css 文件。它在 csproj 文件中仅出现两次。
<Content Include="greybox\logo.gif" />
<Content Include="greybox\next.gif" />
<Content Include="greybox\night_valley.jpg" />
<Content Include="greybox\night_valley_thumb.gif" />
<Content Include="greybox\night_valley_thumb.jpg" />
<Content Include="greybox\prev.gif" />
<Content Include="greybox\salt.jpg" />
<Content Include="greybox\salt_thumb.gif" />
<Content Include="greybox\w_close.gif" />
<Content Include="layout.css" />
<Content Include="obj\Debug\Survey.csproj.FileListAbsolute.txt" />
<Content Include="obj\Debug\Survey.dll" />
<Content Include="obj\Debug\Survey.pdb" />
<Content Include="obj\Release\Package\PackageTmp\bin\Survey.dll" />
<Content Include="obj\Release\Package\PackageTmp\default.aspx" />
<Content Include="obj\Release\Package\PackageTmp\layout.css" />
<Content Include="obj\Release\Package\PackageTmp\survey.css" />
<Content Include="obj\Release\Package\PackageTmp\ThankYou.aspx" />
<Content Include="obj\Release\Survey.csproj.FileListAbsolute.txt" />
<Content Include="obj\Release\Survey.dll" />
<Content Include="obj\Release\Survey.pdb" />
<Content Include="obj\Release\_WPPLastBuildInfo.txt" />
<Content Include="survey.css" />
<Content Include="SurveyAdded.aspx" />
<Content Include="ThankYou.aspx" />
<Content Include="Web.config" />