Configuration‎ > ‎

VS 2010 Web Setup Projects Required .NET 4

posted Sep 7, 2011, 1:55 PM by Eric Patrick   [ updated Oct 13, 2011, 12:10 PM by Greg Kent ]
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:
  1. Open and highlight the web setup project (e.g. qbo.Setup.Debt)
  2. Click on the Properties window (as opposed to right-click > Properties dialog)
  3. Change ASPNETVersion from 4.0.* to 2.0.*
  4. Rebuild and re-deploy the MSI
 
For QBO setup projects that are non web setup projects, you must modify the project Launch Condition by:
  1. Right click setup project
  2. View -> Launch Conditions...
  3. Locate '.NET Framework' item under Launch Conditions Folder
  4. Right click -> Properties Windows
  5. 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
Comments