Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-24-2014, 01:57 PM
ssreedharan ssreedharan is online now
Registered User
 
Join Date: 04-23-2014
Posts: 1
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
Reply With Quote
  #2  
Old 04-24-2014, 05:07 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
http://www.kinook.com/Forum/showthread.php?t=4500
Reply With Quote
  #3  
Old 08-13-2014, 08:21 PM
diamxus diamxus is online now
Registered User
 
Join Date: 11-05-2004
Posts: 1
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:
<step action='NuGet'>
<Command>restore</Command>
<Exe>%PROJDIR%\nuget.exe</Exe>
<PackageId>c:\sourcecode\solutionroot\VS2013Soluti onFileName.sln</PackageId>
<buildfailsteps type='11'>0</buildfailsteps>
<indent type='3'>1</indent>
<name>NuGet</name>
</step>
Reply With Quote
  #4  
Old 12-06-2016, 08:37 AM
dhollman dhollman is online now
Registered User
 
Join Date: 09-26-2013
Posts: 9
Update on prior message - the correct path to install Nuget is now:

https://dist.nuget.org/index.html
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 05:37 PM.


Copyright © 1999-2023 Kinook Software, Inc.