jetheredge/SquishIt — Issue #101: Unable to open SquishItAspNetTest in VS2010
Author: alanning
Created: 2011-11-17 02:06:50+00:00
State: open

## 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 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.
``