WiX - VS 架构和 Visual Studio 2019 [英] WiX - VS Schema and Visual Studio 2019

查看:62
本文介绍了WiX - VS 架构和 Visual Studio 2019的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在升级引用 Visual Studio 2017 的安装项目时遇到问题,现在我想引用 Visual Studio 2019.

I'm having trouble upgrading a setup project that referenced Visual Studio 2017 and now I want to reference Visual Studio 2019.

Product.wxs 引用了以下属性(如此处):

Product.wxs references the following properties (as documented here):

VS2019_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED
VS2019_EXTENSIONS_DIR

在构建设置时出现以下错误:

When building the setup I get the following error:

Unresolved reference to symbol 'Property:VS2019_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED' in section 'Product:*'.
Unresolved reference to symbol 'Property:VS2019_EXTENSIONS_DIR' in section 'Product:*'.

在使用相应的 Visual Studio 2017 属性之前,这工作得很好:

This worked perfectly before using the corresponding Visual Studio 2017 properties:

VS2017_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED
VS2017_EXTENSIONS_DIR

我在这里遗漏了什么?

附注:

  • Wix 工具集版本为 3.11.1.2318.
  • Wix 工具集 Visual Studio 2019扩展名是 1.0.0.4.

谢谢.

推荐答案

您需要最新的 WiX 3.14 预发布开发者版本,可在 https://wixtoolset.org/releases/development/ 使这些属性存在.

You need the latest prerelease developer build of WiX 3.14 found at https://wixtoolset.org/releases/development/ for those properties to exist.

2019 extension 仅将 WiX 与 VS 2019 集成.extensions 如 VS、Util、UI、SQL 等是 WiX 的一部分.令人困惑,我知道.

The 2019 extension only integrates WiX with VS 2019. The extensions such as VS, Util, UI, SQL and so on are part of WiX proper. Confusing I know.

这篇关于WiX - VS 架构和 Visual Studio 2019的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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