You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a computer with only Visual Studio 2010 installed (no previous versions), opening the file: "SquishIt (2010).sln" will result in the SquishItAspNetTest project not being loaded.
Error:
As displayed in Output Window: C:\dev\SquishIt\SquishItAspNetTest\SquishItAspNetTest.csproj : error : Unable to read the project file 'SquishItAspNetTest.csproj'. C:\dev\SquishIt\SquishItAspNetTest\SquishItAspNetTest.csproj(160,3): The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Cause:
The "SquishItAspNetTest.csproj" file has two import statements, one for VS10 and one for VS9. On computers with only VS10 installed the import for VS9 will cause the project to fail to load.
Resolution:
Removing the following import from the "SquishItAspNetTest.csproj" file will resolve the issue. Pull request coming soon. <Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
The text was updated successfully, but these errors were encountered:
alanning
added a commit
to alanning/SquishIt
that referenced
this issue
Nov 17, 2011
Description:
On a computer with only Visual Studio 2010 installed (no previous versions), opening the file: "SquishIt (2010).sln" will result in the SquishItAspNetTest project not being loaded.
Error:
As displayed in Output Window:
C:\dev\SquishIt\SquishItAspNetTest\SquishItAspNetTest.csproj : error : Unable to read the project file 'SquishItAspNetTest.csproj'.
C:\dev\SquishIt\SquishItAspNetTest\SquishItAspNetTest.csproj(160,3): The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Cause:
The "SquishItAspNetTest.csproj" file has two import statements, one for VS10 and one for VS9. On computers with only VS10 installed the import for VS9 will cause the project to fail to load.
Resolution:
Removing the following import from the "SquishItAspNetTest.csproj" file will resolve the issue. Pull request coming soon.
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
The text was updated successfully, but these errors were encountered: