I'm not getting any help on the Microsoft forums so I thought I'd try here. I was working my way through "Beginning ASP.NET 4 in C# and VB
" until last October when I was hospitalized. I've since started back up but have run into a problem. I am running VS2010 Pro on Win 7 Pro. Now, when I attempt to open and work on an application (nopCommerce v1.90) designed to run on ASP.NET 4. I get an error that says my "project is targeting ASP.NET 4.0 which is not installed on this machine." ASP.NET 4 is installed and I have confirmed it with the Setup verifier. I have used the Setup Verifier to check that all versions of ASP.NET from 2.0 to 4.0 are installed correctly on my machine. The error code also prompts me to install .NET 4 via the Web Platform Installer. If I select that option I eventually get a choice to "Repair" or "Remove" ASP.NET 4. I selected "Repair" which completes successfully but changes nothing. The reason I am reluctant to select "Remove" is that when I run the application on "localhost" it works fine. I also have webmatrix and lightswitch installed on this machine. I'm not sure what to do next. Is there some configuration file that tells VS2010 that .NET 4 is installed? Any suggestions will be greatly appreciated.