BT
x Your opinion matters! Please fill in the InfoQ Survey about your reading habits!

Microsoft.Bcl.Build Package Updated with Support for Conditional Import

by Anand Narayanaswamy on Sep 11, 2013 |

Microsoft recently released an update to Microsoft.Bcl.Build package that make use of a conditional import which is similar to the functioning of NuGet's automatic import. It enables the project to load in Visual Studio and the package also adds a target to your project that will run after the build is finished in addition to an ability to check whether the current build has restored packages.

In order to make use of package restore on the build server you either have to check in the .targets file or explicitly run NuGet package restore prior to building your project/solution.

With NuGet 2.7, all packages are restored automatically when building in Visual Studio. Moreover, it is easy to run package restore on a build machine as you only need to place nuget.exe file in a location suitable for you on the build server. Finally, you have to run nuget.exe restore path\to\my\solution.sln.

According to reports coming in, the NuGet team is in talks with all major providers of build, CI servers and TFS to enable automatic running of the above steps by the appropriate build servers.

The latest version of Microsoft.Bcl.Build affects all .NET NuGet packages such as Microsoft.Net.Http, Microsoft.Bcl, Microsoft.Bcl.Async and displays error message in case the relevant package was missing by asking you to build again.

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT