.net - Visual Studio 2013 NuGet package restore does not work from command line (not msbuild but vcvarsall.bat) -
visual studio 2013 introduced new way of package restore without msbuild , old way of enable nuget package restore deprecated now.
after migrating project, written in nuget docs, when building in visualstudio package restore works, when build run using command line visulstudio , event vcvarsall.bat packages not restored.
am missing something?
conclusion
well, if invoke visual studio command line, package restore not called. use manual package restore nuget.exe
nuget restore solution.sln
for particular line work you'll need install nuget system wide , add path it's binaries folder
path
environment variable
on commandline must manually run nuget restore solution.sln
before invoking msbuild.exe
. it's small step before build runs.
visual studio automatically , call nuget restore
executed team build part of workflow.
Comments
Post a Comment