Sunday, 26 February 2012

Nuget & TFS

The Nuget package manager lets you easy reference "external" assemblies like moq or ninject in Visual Studio. But when you upload the Visual Studio project with the nugetted references into TFS the actual assemblies are not uploaded into the source control.

Typically they are located in special folder. By default this is called "packages". This means when you get the sources from TFS on another folder and/or machine , you can not build the solution properly. You're missing dependencies.

So upload the package folder as well in TFS via the team Explorer you might say. That's is a valid solution indeed.

Another approach I found on a blog post (...) is to execute the nuget command-line executable to retrieve the dependencies.

  1. Navigate to folder <mySolutionFolder>
  2. ...nuget.exe install <myProjectFolder>\packages.config -o Packages

This will look for a file called packages.config, check the dependencies and download them if necessary into a folder called packages. This folder should be located on the same hierarchy when initiated. Usually beneath the <mySolutionFolder>

Maybe there are other (better) solutions when working with nuget? Let me know...


best regards,

68 comments:

ILMinator said...

I've blogged a PowerShell one-liner to do this to the whole Visual Studio solution. I thought you might find it useful.

ILMinator said...

[And with the correct link, this time] I've blogged a PowerShell one-liner to do this to the whole solution. I thought you might find it useful.

sabyasachi singh said...

Thanks for the information.

SyonIndia is a Software Development, Website development and SEO company in Bhubaneswar. We offer professional software development services in Bhubaneswar India. Our developers are highly skilled, advance and expert to execute things up to the mark and are efficient enough to cope up with new platforms. We are the leading software development company in Bhubaneswar.
http://syonindia.com

Seo Company Bhubaneswar said...

Thanks....Very Useful one..

Scorpio Technologies is a Professional web development bhubaneswar Company.We are the Experts in the web development World and fullfils our Customers requirements in a Strategic Way.We offers wide range of web application development services such as CMS, E-commerce and ERP development to customers and strive hard to mark their inevitable presence in the World Wide Web.

Web Development Bhubaneswar

Techno Tips said...

Nice post.Thank you for sharing..
software company in india

Cado Magenge said...

Nice post! that is good information, it is useful to me thanks.
Magento Development Cmopany Melbourne

Raj Solanki said...

The information shared on this blog was very informative. Thanks for sharing the useful article with us.
Software Development Company in Indore

Sonia Danial said...

Thanks for such a nice post. Requirement of any type of Application Software, Website Design & Development, SEO, SMO Service, Ad Posting Service at c. Send an Enquiry at Technotips is a leading software company among Software Companies in Bhubaneswar. SEO & Website Starts from 100$ onwards.

Sonia Danial said...

Thanks for such a nice post. Requirement of any type of Application Software, Website Design & Development, SEO, SMO Service, Ad Posting Service at c. Send an Enquiry at Technotips is a leading software company among Software Companies in Bhubaneswar. SEO & Website Starts from 100$ onwards.

Anonymous said...

This blog is really helpful for new commerce. Find your best SEO Company in Delhi, SEO Company in Noida, SEO Company in Gurgaon, SEO Company in India.

Gadget Bytes said...

Thanks for sharing as it is an excellent post would love to read your future post for more knowledge- I was in search of such blog who explore my knowledge in the industry.for more knowledge. software development company India

Bangalore Web Genius said...

Thanks for the very informative blog and I extremely grateful that you perform this piece of writing very simply, I mean to say that it's quite simple to read and understand. Website Design Company Bangalore | Web Development Services in Bangalore

Techno Tips said...

Nice Post, Thank you for such a post. Technotips is the Best Web Design Company in Bhubaneswar, which provides Domain Registration, Web Hosting, Web Design & Development Service. Visit us & choose your Design.

Zinavo Bangalore said...

very nice blogs!!! i have to learning for lot of information for this sites...Sharing for wonderful information.Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.Website Development Bangalore | Web Design Company Bangalore

Surajj Kumar said...

Very exciting to study this content.I would like to thank you for the initiatives you had created for composing this amazing content.
New Year in Manali

Bangalore Web Guru said...

The blog was absolutely fantastic! Lot of great information which can be helpful in some or the other way. Keep updating the blog, looking forward for more contents...Great job, keep it up..Website Design Bangalore | Website Development Bangalore

MARY MANJUSHA KULLU said...

Amazing Blog And Very Interesting Post Thanks For Share.It is Really Good Way to Learn The Application Development.

Shopweb said...

web development is the process for making a website with an expressive looks.........!!!
This is very valuable to understand the web-development process,looking forward to more blogs like this....&.....Thnx 4 shearing this..<)>)
Web Development Company Bhubaneswar

Shopweb said...

Its very nice blog and it has very effective information.thanks.

How Website Design Company Can Help You In Bhubaneswar ?

Kumar V said...

You have good information about application development

Web Design Company in Bhubaneswar

Quresha Roul said...

Thanks for sharing this post is very nice and used full post.
web development company bhubaneswar

Anonymous said...

You don't need to store the packages from NuGet in version control. Web Design Bangalore

Anil Gupta said...

Fabulous canvas..and thanks a lot for sharing these tips ,they are really helpful.It is very informative on subject or topic.
Web Designing Company in Bangalore, Web Development Company Bangalore

Quresha Roul said...

This is very wonderful article on website designing, its shows the valuable details on it. We at shopweb providing the best web designing service with great quality of work along with our expertise.
web hosting company bhubaneswar

Prasanth said...

The blog is absolutely truly incredible. Lots of large information and inspiration, both of which we all need.
UI Design Company Bangalore, Web Application Development Services in Bangalore

iWEB TECHNOLOGIES said...

Thankful for such wonderful blog yours...!
Web Development Services

flymedia technology said...

Thank you so much for sharing this wonderful information with us.
Flymedia Technology is a professional website design company based in Punjab, India. We are specialized in designing and developing websites as per client requirement.. Our designers put all their efforts to make a remarkable product.
Web Designing in Punjab

Ashika Samreen said...

Nice post thanks for sharing .
Best Web Design Company in Bangalore

Ram Niwas said...

Nice blog. Thank you for Providing such a great information. web designing company in bangalore

naveen chauhan said...

Expert Web Solutions a top leading website designing company in tilak nagar, delhi. we are providing cheapest web designing service company in delhi and all over india. Website designing company in janakpuri. VIEW MORE :- Website designing company Delhi

Top Branding Agencies in Mumbai said...

Thank you for sharing such a great information.

Web Spread said...

Thanks for your great info, the article are quiet interesting.I will be waiting for your next post....! Magento Development Company in Noida India

kishankapoor said...

Nice post! I thank you for sharing this nice blog with us. Likewise, I would like to say something that Happy Heap Marketing is also one of the SMO Services in India

Omkarsoft Bangalore said...

Nice article . Thanks for sharing it
Web Designing Company

Gurjeet Singh said...

That was an extremely interesting blog. Information of your blogs provide is excellence. Thanks for sharing your thoughts with us. Website Designing Company Delhi

Ashish Khadpe said...

Mobile application is a must thing for today for a business to grow. If you are looking to build your android or iOS mobile application, get in touch with :
Parsys Media | WordPress | Magento | Joomla | Android | iOS | Drupal

KATE TECHNOLOGIES said...

Thank you so much for sharing such an awesome blog...
best web designing companies in india

Mohd Islam said...

Wow, now this is what we call an information rich blog. You have definitely covered a lot of things on Website design company. Keep it up!
Website Designing Company In Phoenix Arizona Az | Website Development Company In Arizona

Mrr Blaze said...
This comment has been removed by the author.
Yasir Jamal said...

That was an extremely interesting blog. Information of your blogs provide is excellence. Thanks for sharing your thoughts with us. Yasir Jamal

Mohd Islam said...

Your blog information is a very good and helpful... keep sharing

Looking a #1 Web Designing Company In Phoenix with a affordable price.

Designpluz said...

It is a great sharing...I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article. Web Design Sydney.

Nasir DZ said...

cute blog with colourful images, really I appreciate your works. All the articles are very interesting to read Motorcycle Ear Plugs , Musicians Earplugs

farman wxi said...

Expert Web Solutions a top leading website designing company in tilak nagar, delhi. we are providing cheapest web designing service company in delhi and all over india. Website designing company in janakpuri. VIEW MORE :- Web Designing Company in India

Designpluz said...

Web Design Sydney: I really appreciate this post and I like this very much. I am waiting for new post here and Please keep it up in future. .Logo Design Sydney,Logo Design in Coimbatore

Earmold Sydney said...

cute blog with colourful images, really I appreciate your works. All the articles are very interesting to read Motorcycle Ear Plugs , Musicians Earplugs Custom Ear Plugs

Java Programmer said...

Mobile app can help us to grow business.Hawkscode is a one of the bestmobile application development comapny

Kale Co Jakim said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from Dot Net Training in Chennai. or learn thru ASP.NET Essential Training Online . Nowadays Dot Net has tons of job opportunities on various vertical industry.

Suraj sharma said...

Thanks for sharing nice with us. Addlead is one of the Best Web design & development in Delhi. We offer all types Web design,Web & app development services.
website development delhi

keerthana said...

very informative post, thanks for share it.
SEO Specialist in Bangalore
Seo Companies in bangalore
Seo pricing packages india

Ancy merina said...


Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing
ECommerce Website developers in bangalore
Outsource magento ecommerce services india

STAR LIGHT SHIPPING +971-506254594 said...
This comment has been removed by the author.
STAR LIGHT SHIPPING +971-506254594 said...

Expert Web Solutions a top leading website designing company in Delhi, delhi. we are providing cheapest web designing service company in delhi and all over india. web designing companies in delhi
. VIEW MORE :- web designing companies in delhi

Guna Sekar said...

Excellent Article, Keep posting
AC Mechanic in Anankaputhur
AC Mechanic in Ashok Nagar
AC Mechanic in Ayanavaram
AC Mechanic in Chetpet
AC Mechanic in Chrompet

Jyoti Sharma said...

I am really happy to say it’s an interesting post to read . I learn new information from your article , you are doing a great job
Shri Ram Packaging Industry is one of the Leading Manufactures & suppliers of International standard pinewood pallets, Euro Pallets, ISPM-15 Heat Treated wooden Pallets, Crates, boxes since last 4 decade in Gurgaon, Bhiwadi.VIEW MORE
Paper Angle Board Manufacturer in Neemrana

Dissertation Writing Services said...

I read this article. I think You put a lot of effort to create this article. I appreciate your work.
Dissertation Writing Services

digiclayinfotech said...

Hi! Thank you for the share this information. This is very useful information for online blog review readers. Keep it up such a nice posting like this. We are most leading IT & Software company in India

Eumed HealthCare .+91 9049361927 said...

Web Expert India are a popular and reputed website design and development company in India.Our Delhi based young professionals are highly dedicated and concentrate on availing quality services to our precious clients.
View More :-Website Designing Company in Delhi
Thankyou..

aruhi khan said...

Really good information you have shared...i learned new things that you have mentioned.thank you.Best Web Design Company In

Hyderabad

bulk sms said...

Bulk SMS is brilliant, cost-effective, promotional, advertising service, and reasonable, these India service industry has given rise to some such aspects for which still the small scale and large scale industry are opting for these low-priced services profit.

Shivani said...

This is very nice information about the digital marketing Thank you so much for sharing your knowledge. Keep it .
SEO company in delhi
Best SEO Company in Delhi
SEO Company Delhi

bulk sms said...

Bulk SMS services is the best mode to deliver your message to your customer then it is the newest choice for most of the companies these days.

Pro Integrate said...

Pro Integrate is one of the best technology companies which gives you the best services and also provides mixed working environment On-Site as well as Nearshore. The goal of our company is to help match employers who have job openings with qualified employees who are available. We provided specific resources, as requested, to be integrated into our partner’s projects. Business consultancy like us provides information, consulting, and insights to importers and exporters so that they can take accurate decisions.

priya nigam said...

We are the Top Mobile Game Development Company in Noida, our Apps development gratify the idea of your Business. We convert your Business ideas virtually, into a superior form of Application. With all our high tech features and beautiful graphic designs, we have full-stack engineers, who develop best mobile applications that work perfectly without any trouble.
Website: - https://www.swavishsoftwares.com/mobileappsdevelopment.php

Swavish Softwares said...

Swavish Softwares is preeminent Website Designing Company in Delhi offer services like responsive website design, ecommerce website design, custom website design in which our web designers deal directly with each customer.

Augurs Technologies Pvt Ltd. said...

Top Python Development Services EUROPE, Top Python Development Services USA


bulk sms said...

Bulk SMS services is the best method to delivered your message to your audience hence it is the hottest choice for most of the company these days.

ranjith s said...

Thank you for sharing valuable information
Web design company in chennai
Web development company in chennai
Digital marketing company in chennai