[wix-users] How to use WiX in a referenced NuGet-Package
Kuch3n
kuch3n at protonmail.com
Mon Nov 30 06:43:49 PST 2020
I'm referencing a NuGet-Package in a Project, which contains a WiX-Projekt. This Project references the NuGet WiX package. Building the Project with the restore flag (-restore), does restore the WiX nuget package, but the build will fail:
"WiXTest.wixproj(64,5): error : The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/".
- It seems the wix.props isn't included and the WiX toolset doen't load.
- Deleting the WiX nuget package localy (in .nuget) will restore the WiX nuget package. But it doesn't seem to load the wix.props from that nuget package.
Project A
-> NuGet Reference to Project B (NuGet)
Project B
- Contains the WiX Project
- .targets file to build the WiX-Project
-- Task: <MSBuild Projects="$(WiXProject)"
-> Reference to WiX nuget package
Any hints on that?
Sent with [ProtonMail](https://protonmail.com) Secure Email.
More information about the wix-users
mailing list