[wix-users] How to use MSBuild Extension Pack via NuGet?
Mihajlo Cvetanović
mcvetanovic at gmail.com
Mon May 13 04:49:54 PDT 2019
Got it working by manually adding
<None Include="packages.config" />
<UsingTask
AssemblyFile="$(SolutionDir)packages\MSBuild.Extension.Pack.1.9.1\tools\net40\MSBuild.ExtensionPack.dll"
TaskName="MSBuild.ExtensionPack.Framework.Assembly"/>
to wixproj. And also proper contents to packages.config file. Thanks all.
On Sat, May 11, 2019 at 11:49 AM David Watson via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> 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.
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
More information about the wix-users
mailing list