London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Nuget: Am I Doing It Wrong?

Vote:
0

So, I've got my project set up with libraries managed by nuget. packages.conf has a set of versions in it for my various libraries. Everything is nice and tidy! Now when I need to stand up a new developer, or create a new CI instance, I just need to do a svn checkout, then run `nuget.exe restore` and all of my project dependencies are created like magi....

<>>

Is this something on my end, or...I mean, you guys can't possibly take libraries offline from nuget.episerver.com after a week or so. Right?

:)

#89816
Aug 26, 2014 22:24
Vote:
0

Does everyone have the episerver nuget feed installed in the nuget manager? Also make sure you have enabled nuget package restore on the solution-file.

#89817
Aug 26, 2014 23:03
Vote:
0

Can confirm that it is the missing package source. You can pass a setting file, nuget.config, in your restore command.

nuget.exe restore "Path to Project root" -ConfigFile "nuget.config"

And in your nuget.config



	
		
	
	
		
	
	
		
		
	
	
		
		
	
#89823
Aug 27, 2014 5:40
Vote:
0

Thanks, explicitly calling nuget.exe with the nuget.config as a param seemed to work.

#89873
Aug 27, 2014 23:02
Vote:
0

Consider it as bit harmful :)

#89877
Aug 27, 2014 23:14
Vote:
0

I miss Maven.

:)

#89878
Aug 27, 2014 23:16
Vote:
0

I do not agree Valdis. So he's telling us we're in big trouble with the next release of asp.net, where all dependencies are NuGet packages? But I guess some of them will be stored locally in a separate source.

#89879
Aug 27, 2014 23:25
Vote:
0

I was referring to Restore. Not always, but it may become a bit harmful.

#89880
Aug 28, 2014 0:28
Vote:
0

And you might get hit by a car...but..you still travel with them and leave your home at least to get some food :) If it makes your job easier for the moment, I sugest you go with that solution and if things change in the future so do you. :)

#89945
Aug 28, 2014 23:42
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.