WiX - VS Schema and Visual Studio 2019
Asked Answered
B

1

1

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

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:*'.

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

VS2017_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED
VS2017_EXTENSIONS_DIR

What am I missing here?

PS:

  • Wix Toolset version is 3.11.1.2318.
  • Wix Toolset Visual Studio 2019 Extension is 1.0.0.4.

Thanks.

Basswood answered 21/8, 2019 at 10:48 Comment(1)
Never tried this, maybe have a look at github.com and some sample hits. And maybe hit the bug tracker to see if there is anything there or add a bug report. Bob Arnson will probably show up and save the day. Or Chris Painter - one of the sample hits on github is his. Can't look at it right now.Henbane
R
3

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

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.

Rodl answered 21/8, 2019 at 14:32 Comment(1)
Saved the day ;-).Henbane

© 2022 - 2024 — McMap. All rights reserved.