No trial. No credit card required. Just your GitHub account.
.NET Blog
Free. Cross-platform. Open source. A developer platform for building all your apps.
Featured posts

Join the .NET & C# Teams at Microsoft Build 2025

The countdown to Microsoft Build 2025 is on! Join us May 19-22 either in-person in Seattle or online and explore an exciting lineup of .NET and C# content, incl...
Latest posts

NuGet Package Restore with Team Foundation Build

Note: This post is now also part of the official NuGet documentation. In this post, I’ll provide a walkthrough on how to use package restore with Team Foundation Build with both, git as well TF version control. In our previous blog post on how we improved package restore, I showed that NuGet 2.7 and Microsoft.Bcl.Build made restoring packages a lot easier. However, I didn’t explain in great detail on how you can restore packages during the build. In this post, I’ll close that gap by providing a more detailed walkthrough. Although this walkthrough is specific for the scenario of using Team Foundation Serv...

NuGet 2.7 Released
The NuGet team is excited to announce NuGet 2.7 release, for details please see the release notes published on docs.nuget.org.NuGet 2.7 Features Note that with NuGet 2.7, we have removed support for Visual Studio 2010 Express for Windows Phone due to technical limitations related to the new automatic package restore. A separate download is available for that version of Visual Studio and it can be found on the NuGet 2.7 downloads page on CodePlex.Visual Studio 2013NuGet 2.7 is the version of NuGet that will be included in Visual Studio 2013, with the exception of minor updates such as refreshed localizati...

Update: Knockout IntelliSense Highlight Bug Fix
In an earlier blog post on June 24th entitled Knockout IntelliSense Highlighting Bug Fix I described a bug fix in the Knockout IntelliSense feature. In that post I recommended installing Windows Azure SDK for .NET (VS 2012) – 2.0 to acquire the fix since it did not make it into any of the Visual Studio Updates for 2012. Several customers have asked if there’s a lighter-weight solution to acquiring this fix. This article described the minimal install required to improve Knockout highlighting. What Version of WTE Do I Have? To determine what version of WTE is installed, select “About Microsoft ...

Editing Package Metadata on the NuGet Gallery
In our next deployment, which is scheduled for the week of August 26th, 2013, we have added the ability to edit package metadata at any point in time before or after publishing the package. This has been one of the frequent requests from package authors. The changes are current dpeloyed @ staging.nuget.org. You can play around with the feature in this sandbox environment. Let us know your feedback and suggestions here in github. We are aiming production deployment on 8/27/2013 barring any ship-stopper issues. Meanwhile, we will continue testing from our end as well. Edit Package Before the introduction of this...

Web Publishing a simpler way to exclude files/folders from being published

I’ve written a few blog posts on how to exclude files from publishing/packaging. In each of these posts you’d have to be familiar with MSBuild and the Web Publish process. I’ve been looking for a much simpler way to exclude files/folder from publishing. When using git you can easily exclude files and folders using a .gitignore file. Inside the .gitignore file on each line you can add a pattern that matches files/folders to be excluded from the repository. For example take a look at the sample .gitignore file below. In the .gitignore file above you can see how easy it is to exclude files and folders from publi...

Portable Compression is now stable

Today we are happy to announce that our portable compression library is now available as a stable NuGet package. Microsoft.Bcl.Compression Microsoft.Bcl.Compression provides the following APIs in a portable fashion: It’s supported on the following platforms: .NET 4.5 and .NET for Windows Store apps already ship compression with the platform itself, so applications for those platforms usually don’t need this package. However, if the application is consuming a library that uses this package then the application also needs to reference this package in order to ensure application a...

Improved Package Restore

As we’ve previously explained we receive various reports on how our NuGet packages don’t play nicely with NuGet’s package restore feature. In this blog post I’ll talk about an update we shipped to our infrastructure package Microsoft.Bcl.Build that reduces the impact. The Issue To recap, some of our packages need to participate in the build in order to work properly. Examples of tasks that require build participation include generating binding redirects or selecting the appropriate native dependency based on the CPU architecture the build is producing. Build participation is implemented by adding an import t...

NuGet 2.7 Released
The NuGet team is excited to announce that NuGet 2.7 is now released in stable form. We published the release candidate on August 14th and we have not made any changes since then. For details about what's in the release, the release notes are published on docs.nuget.org. NuGet 2.7 Features Note that with NuGet 2.7, we have removed support for Visual Studio 2010 Express for Windows Phone due to technical limitations related to the new automatic package restore. A separate download is available for that version of Visual Studio and it can be found on the NuGet 2.7 downloads page on CodePlex. Support f...

Accessing the ASP.NET Web Configuration Tool in Visual Studio 2013
As many of you have noticed, the option to select “ASP.Net Web Configuration Manager” is no longer in Visual Studio 2013 Preview. This is due to the removal of the Visual Studio Development Server (or Cassini) from the product. However, we understand that many people have gotten used to using the Tool, and so here are the steps by which you can still run the manager. Note that these instructions only work for sites running on the .NET Framework 4.0 and above. Congratulations, you now have your ASP.net Web Site Adminstration Tool running as before.