[wix-users] Native (CoApp) NuGet packages and WiX projects

John Cooper JoCooper at jackhenry.com
Thu Oct 29 14:38:50 PDT 2015


Works almost flawlessly with VS 2015.  However . . .

I've had plenty of problems with VS 2013, especially before Update 4 and Update 5.  VS 2013 crashes less installing packages into wixproj's, but it's not happy.

Note also that my experience is limited to packages I have authored specifically for WiX and install either build tools or wixlibs.  The Wixproj <Reference> layout is quite a bit different from CSproj and this can cause problems.

--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Enterprise Notification Service
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 |JoCooper at jackhenry.com



-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Tunney, Stephen
Sent: Thursday, October 29, 2015 3:48 PM
To: WiX Toolset Users Mailing List (wix-users at lists.wixtoolset.org) <wix-users at lists.wixtoolset.org>
Subject: [wix-users] Native (CoApp) NuGet packages and WiX projects

The e-mail below is from an external source.  Please do not open attachments or click links from an unknown or suspicious origin.

Hello All,

I've got some NuGet packages that I want to bring into a WiX project (.wixlib, and .wixproj have been tested and fail) that has been generated using CoApp extensions.  However I'm running into an issue in Visual Studio 2013 when attempting to Add the NuGet package.

In the "Installing..." dialog for the NuGet package manager in VS I see the following:
Adding 'zlib 1.2.8' to Platform.MyComponent.
Uninstalling 'zlib 1.2.8'.
Successfully uninstalled 'zlib 1.2.8'.
Install failed. Rolling back...
Could not install package 'zlib 1.2.8'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.0.0.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.

Does anyone have any insights as to why this is happening?  What can I do to add support for targets="native" to .wixlib or .wixproj projects?

Thanks,
Stephen Tunney
Nuance Communications, Inc.
Architect, Imaging Division
Waterloo, Ontario, Canada
stephen.tunney at nuance.com<mailto:stephen.tunney at nuance.com>
519-880-7463      Office
NUANCE.COM
The experience speaks for itself (tm)


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/

NOTICE: This electronic mail message and any files transmitted with it are intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged information.
Any unauthorized review, use, printing, saving, copying, disclosure or distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.



More information about the wix-users mailing list