vs未找到导入的项目,Import路径错误问题

时间:2024-03-27 07:17:13

vs未找到导入的项目,Import路径错误问题vs未找到导入的项目,Import路径错误问题
记事本打开项目Web.csproj 将
      <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
      <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />
  替换成
       <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
       <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="'$(Solutions.VSVersion)' == '8.0'" />
      <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" Condition="'$(Solutions.VSVersion)' == '9.0'" />