VS2010 changes your ASP.NET Version on setup projects to 4 - regardless

Posted by blomqvist on Geeks with Blogs See other posts from Geeks with Blogs or by blomqvist
Published on Thu, 15 Apr 2010 10:49:43 GMT Indexed on 2010/04/15 12:03 UTC
Read the original article Hit count: 208

Filed under:

When converting your projects to VS2010 you get the question to migrate them to .net4. But even if you do not do that VS set the ASP.NET version to 4 for setup projects.

And then when you try to install your application on a machine that does not have .NET 4 installed you will get the error message:

“Could not open key: Software\Microsoft\ASP.NET\4.0.30128.0. Verify that you have sufficient access to that key, or contact your support personnel”

image

What you need to do is to change the ASP.NET version back to 2.0 if that is what you want to use.
You do that in the properties of the setup project.

 

image

© Geeks with Blogs or respective owner