Microsoft Visual Studio 2017安装程序项目启动条件检查不适用于.net 4.7.1 [英] Microsoft Visual Studio 2017 Installer Projects launch condition check not work for .net 4.7.1

查看:232
本文介绍了Microsoft Visual Studio 2017安装程序项目启动条件检查不适用于.net 4.7.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在版本中使用visual studio professional:此版本已宣布为支持  .net framework 4.7.1


我从市场上安装了Microsoft Visual Studio 2017安装程序项目扩展。


生成可视工作室安装项目以生成用于.net框架windows服务控制台应用程序的msi,在"启动条件"中标记,将.net框架版本设置为4.7.1。 


msi启动检查在4.7以下的任何系统中都能正常工作(4.6.1 / 4.6 / 4.5.2) ....)启动检查将阻止安装程序启动,但在安装了.net 4.7的Windows 10的操作系统中,启动检查也应该是失败的。但是.net
4.7通过启动检查并不断启动安装程序。


是否有人面临同样的问题,是否有解决方案?我需要在我的Microsoft Visual Studio 2017安装程序项目中支持.net 4.7.1的启动检查。

解决方案


欢迎来到MSDN论坛。


>>生成一个visual studio安装项目,为.net框架windows服务控制台应用程序生成msi,里面"Launch Condtion"标记,将.net框架版本设置为4.7.1。 


在启动条件下,选择".Net framework"。在"属性"右侧选择"版本"您会看到下拉列表。确保您已将框架更改为目标框架。


祝您好运,


Joyce


I am using visual studio professional at version: This version announced as supported  .net framework 4.7.1

I installed the Microsoft Visual Studio 2017 Installer Projects extension from market.

Generate a visual studio setup project to generate msi for .net framework windows service console application, inside "Launch Condtion" tag, set the .net framework version is target to 4.7.1. 

The msi launch check works fine in any system below 4.7 like (4.6.1/4.6/4.5.2....) the launch check will prevent installer to be launched, but in OS system with windows 10 with .net 4.7 installed, the launch check should expected also as failed. But .net 4.7 pass the launch check and continually launch the installer.

Is anyone facing the same problem and is there a solution for this? I need to support launch check of .net 4.7.1 in my Microsoft Visual Studio 2017 installer project.

解决方案

Hi,

Welcome to MSDN forum.

>>Generate a visual studio setup project to generate msi for .net framework windows service console application, inside "Launch Condtion" tag, set the .net framework version is target to 4.7.1. 

Under Launch Conditions, Select ".Net framework" on the right in "Properties" Select "Version" you will see a drop down. Make sure you have changed the framework to your target framework.

Best regards,

Joyce


这篇关于Microsoft Visual Studio 2017安装程序项目启动条件检查不适用于.net 4.7.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆