[wix-users] How to use MSBuild Extension Pack via NuGet?

David Watson dwatson at sdl.com
Sat May 11 02:48:59 PDT 2019


Ooh interesting, thanks, I've not tried in ages.

-----Original Message-----
From: Rob Mensching <rob at firegiant.com> 
Sent: 11 May 2019 05:26
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: David Watson <dwatson at sdl.com>
Subject: RE: [wix-users] How to use MSBuild Extension Pack via NuGet?

Hmm, I've successfully used NuGet with .wixproj. IIRC, some of the NuGet tooling doesn't like doing package add to WiX v3 .wixproj because WiX v3 doesn't support all the stuff NuGet tooling expects (this is improved in v4).

But I was pretty sure you could use package.config based NuGet with .wixproj.

_____________________________________________________________
 Short replies here. Complete answers over there: http://www.firegiant.com/


-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of David Watson via wix-users
Sent: Friday, May 10, 2019 10:13 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: David Watson <dwatson at sdl.com>
Subject: Re: [wix-users] How to use MSBuild Extension Pack via NuGet?

Wixproj's don't support nuget.

Add a dummy c# application to the solution and add the nuget to that.



-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Mihajlo Cvetanovic via wix-users
Sent: 10 May 2019 17:47
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Mihajlo Cvetanović <mcvetanovic at gmail.com>
Subject: [wix-users] How to use MSBuild Extension Pack via NuGet?

Hi all. I want to use MSBuild Extension Pack in my WiX 3.11 project, but I'd rather not install it explicitly if I have a choice and would rather use it automatically (so that next developer does not have to know about it). There is a NuGet package, but when I try to install it to my wixproj project I get this message:

Could not install package 'MSBuild.Extension.Pack 1.9.1'. You are trying to install this package into a project that targets 'Unsupported,Version=v0.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Maybe I should ask in a different place, but maybe someone here already has experience with this problem.



More information about the wix-users mailing list