BT

InfoQ Homepage News Microsoft.Bcl.Build Package Updated with Support for Conditional Import

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

Bookmarks

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.

Rate this Article

Adoption
Style

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.

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

Community comments

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

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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.