Nuget package restore fails when building project


i trying deploy windows azure web site visual studio online. our solution (vs 2013) contains 3 asp.net mvc projects , first attempt deploy using auto generated build definition worked fine deployed wrong project (it took first 1 found).

to solve changed "2.1.solution build" solution file csproj file correct project. results in following error:

[xxx].csproj (1090): build restored nuget packages. build project again include these packages in build. more information, see http://go.microsoft.com/fwlink/?linkid=317568.

searching problem on site gives me http://social.msdn.microsoft.com/forums/vstudio/en-us/bef04ac7-c601-4f00-a701-19cc85298cbb/build-fails-on-nuget-package-restore?forum=tfservice where states run package restore before building. at http://docs.nuget.org/docs/reference/package-restore-with-team-build it states implemented (and work when run using *sln file).

how should solve this? perhaps there way specify project deploy azure?


hi martinwa,

since thread more related tfs deployment to microsoft azure, move right forum better response. understanding.

best regards, 


we trying better understand customer views on social support experience, participation in interview project appreciated if have time. helping make community forums great place.
click here participate survey.




Archived Forums V  >  Visual Studio Team Services



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........