Post date: Sep 07, 2011 8:55:59 PM
When migrating to VS 2010, the QBO 2 projects were kept targeting .NET 2. However, VS 2010 secretly changed the Web Setup projects ASPNETVersion to 4.
If you get an error message at the end of a web MSI looking for .NET 4, take the following steps:
Open and highlight the web setup project (e.g. qbo.Setup.Debt)
Click on the Properties window (as opposed to right-click > Properties dialog)
Change ASPNETVersion from 4.0.* to 2.0.*
Rebuild and re-deploy the MSI
For QBO setup projects that are non web setup projects, you must modify the project Launch Condition by:
Right click setup project
View -> Launch Conditions...
Locate '.NET Framework' item under Launch Conditions Folder
Right click -> Properties Windows
Adjust Version item from '.NET Framework 4 Client Profile' to '.NET Framework 2.0'
***Note***
We have observed the above setting may need to be set for Web Setup Projects as well