Creating a Web Setup Project for asp.net Application Using Visual Studio - including building in variations for test, dev, and production all in the same installer.
You pull a legacy project from version control, open it, and you’re treated to:
The application for .wdproj is not installed
Because, once again, you forgot that you have to install this on every dev machine, and this, your 6th VM of the year is no exception....
You must install Visual Studio’s Web Deployment Projects (for your VS version) to get this to work.
Could not open key: Software\Microsoft\ASP.NET\4.0.30319.0. Verify that you have sufficient access to that key, or contact your support personnel.
If anyone is interested, it appears that the .net 4.0 download I was redirected to when first attempting the install was only the ‘client’ package. I unistalled this and installed the full redistributable package and the install went fine.
In the installer project for .NET runtime, I specifically selected
.NET Framework 4 NOT the client profile version.
NOTE: even though I did that, the URL does not change, and continues to point to the client framework.
I had to add a manual URL.
Not sure how to get the **** installer to use the right framework, here....