Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open SquishItAspNetTest in VS2010 #101

Closed
alanning opened this issue Nov 17, 2011 · 0 comments
Closed

Unable to open SquishItAspNetTest in VS2010 #101

alanning opened this issue Nov 17, 2011 · 0 comments

Comments

@alanning
Copy link

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" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants