Quantcast
Channel: WE MOVED to github.com/nuget. This site is not monitored!
Viewing all articles
Browse latest Browse all 7612

Created Unassigned: [NuGet 2.7] New package restore doesn't work with Wix projects [3598]

$
0
0
The new package restore workflow doesn't work for Wix (and likely other) project types.
I've attached a repro solution.

When you run ```NuGet.exe restore``` on the solution file, you'll notice that the package referenced in the Wix project is not restored.

Expected: The package should be restored.

Further info:
While looking at a fix for [#3596](https://nuget.codeplex.com/workitem/3596), I found out that [ProjectInSolution.cs](https://nuget.codeplex.com/SourceControl/latest#src/CommandLine/Common/ProjectInSolution.cs) checks if the property ProjectType is 'KnownToBeMSBuildFormat', but this is not the case for Wix projects (and I assume all other projects not known to MSBuild).

My alternative approach as mentioned in the issue above fixes this as well.
___
Visual Studio 2012 Ultimate
Windows 7
NuGet 2.7RC

Viewing all articles
Browse latest Browse all 7612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>