Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Third Party Tools (https://www.kinook.com/Forum/forumdisplay.php?f=3)
-   -   Make VS 2013 with NuGet (https://www.kinook.com/Forum/showthread.php?t=5265)

ssreedharan 04-24-2014 01:57 PM

Make VS 2013 with NuGet
 
I am running into an error when trying to build a solution with VS2013. Our developers are using the NugetPackage manager internally while building their solution in VS2013. Now when I use the Make VS2013 command and try to build it using MSBuild, it fails because its not able to find any of the references and assemblies. However if I first open the solution in VS2013 and build it from there, it gets the Nugetupdates and its builds there successfully. AFter that when I run the build script with the MakeVS2013 command and use MSBuild, it builds successfully.
I need the solution to build on the fly, because I will be exporting code from subversion and then trying to build through Visual Build Pro. How can I get VBP to pick up the Nuget Package references for this to build successfully. Please help. Thanks

kinook 04-24-2014 05:07 PM

http://www.kinook.com/Forum/showthread.php?t=4500

diamxus 08-13-2014 08:21 PM

Use NuGet & VS solution
 
Just in case, someone needs another simple approach, I resolved this issue by doing the following:
• Download nuget.exe from https://nuget.codeplex.com/releases
• Place it somewhere you can reference it, for example, %PROJDIR%
• Create a NuGet step such as the one below:

restore
%PROJDIR%\nuget.exe
c:\sourcecode\solutionroot\VS2013SolutionFileName. sln
0
1
NuGet

dhollman 12-06-2016 07:37 AM

Update on prior message - the correct path to install Nuget is now:

https://dist.nuget.org/index.html


All times are GMT -5. The time now is 07:03 AM.


Copyright © 1999-2023 Kinook Software, Inc.