version of .net framework launch not match .net framework bootstrapper project

后端 未结 3 925
迷失自我
迷失自我 2021-02-20 04:33

When I build the release project of the vb.net 2010 I just started using, I get two warnings:

  1. the version of the .net framedwork launch condition does not ma

3条回答
  •  离开以前
    2021-02-20 05:06

    Okay so I ran into this issue as well. There are 3 places I found that need to match. Not 2 places. I am using VS2015 with the Add-in Setup Project available from Microsoft.

    Place 1: Target Framework needs to be what you are targeting, variable X. To get to this go to the properties of your main project and select the target framework for your code.

    Place 2: Right click your setup project and go to view > Launch conditions, click .Net Framework, and in the properties window select your target framework... variable X.

    Place 3: Right click your setup project and go to properties > Prerequisites. This will show the pre-requisite from the program... In my case Variable X needed to match what was checked in this box.

    This resulted in a successful build of the project without the warning.

提交回复
热议问题