Andrew Florko
Andrew Florko

Reputation: 7750

Setup project: where .net framework 4.0 is hidden?

I build MSI file with MSVS 2010 setup project and wonder why does it requires .net framework 4.0 to be installed.

I double checked that every module in setup dependencies relies on .NF 3.5 SP1, and .NF 3.5 SP1 is in prerequisites list. But somehow Visual Studio Project File contains the following part:

..

SccProvider 
  Deployable 
    ExternalPersistence
       LaunchCondition 
         ... NETFramework, Version=v4.0, Profile=Client

I can't figure out what on Earth adds this reference into project file.

Upvotes: 2

Views: 1244

Answers (1)

Andrew Florko
Andrew Florko

Reputation: 7750

Let me answer to myself.

You should click with right mouse button on the the setup project in solution explorer, go to "view", then to "launch conditions" and change .net framework version to appropriate one.

Upvotes: 1

Related Questions