The world’s most popular IDE just got an upgrade.
.NET Blog
Free. Cross-platform. Open source. A developer platform for building all your apps.
Featured posts

Introducing Microsoft Agent Framework (Preview): Making AI Agents Simple for Every Developer

Microsoft Agent Framework (Preview) unifies agent creation, orchestration, tooling, hosting, and observability so any .NET developer can ship production AI agen...
Latest posts

Announcing the .NET Framework 4.5.1 RC

Update (2017): See .NET Framework Releases to learn about newer releases. This release is unsupported. Update: The .NET Framework 4.5.1 RTM has been released and is available for download. The .NET Framework 4.5.1 RC is now available. It comes with a go-live license, enabling you to deploy 4.5.1 apps in production. Here are the RC bits. Download them. Try them out. Tell us what you think. Our RC release is a set of “fit and finish” changes on top of the earlier .NET Framework 4.5.1 Preview, which we released in June. The best place to learn about the features and capabilities of RC is to read our earli...

Debug ScriptBundle results in 404 if virtualPath parameter contains a dot
I spent some time debuging a ScriptBundle problem last Friday and want to share my experience. The original code in a MVC project App_Start/BundleConfig.cs file: Code Snippet And in a cshtml file, the bundle is included as: Code Snippet In local IIS Express debugging mode, I found no problem. So I deployed to Azure to see if project works in real server. And to my surprise, it reported an error that SignalR is not loaded. The following image from the IE F12 developer tools shows a 404 is returned when getting /bundles/jquery.signalR. To find out if bundling works locally, I c...

Updated NuGet Support in Visual Studio 2012.4

As Brian Harry recently announced, there will be a Visual Studio 2012 Update 4. With RC2, we’ve updated the NuGet support. In this blog post, I’ll summarize those improvements. Updated NuGet Client The RTM version of Visual Studio 2012 included a fairly old version of the NuGet client (2.0). Although the NuGet team regularly ships updated versions via the Visual Studio gallery, many of you haven’t updated your NuGet clients yet – probably because you weren’t aware that an update exists or because you didn’t see a reason to update. Unfortunately, the NuGet 2.0 client didn&rsq...

NuGet 2.7 Package Restore Tips
Since the release of NuGet 2.7 with Automatic Package Restore and implicit consent, many developers have adopted the new approach and provided some great feedback on their experiences. Based on that feedback, we have collected a set of tips to help you start using the new restore features. Using Automatic Package Restore Even though package restore consent is on by default, users still need to choose to omit their packages from source control before package restore is engaged. By default, source control systems will include the packages folder in your repository, and you need to take action to omit the packa...

NuGet 2.7 Package Restore Consent Errors
After NuGet 2.7 was released with Automatic Package Restore and implicit consent, some users reported that they were still seeing build errors indicating that package restore consent had not been given. When we made the package restore changes in NuGet 2.7, we identified one scenario where this would happen but determined we couldn't implement a fix and would rather have to document the cause and solution. Scenario and Cause In order to hit this problem, there's a specific scenario you must be in. The scenario isn't extremely common, but we have already heard reports of it. In this scenario, the solutio...

Introducing NuGet Concierge
Twelve weeks ago, the Azure Applications Platform & Tools team welcomed us, three college sophomores, Jaspreet Bagga, Jeremiah Jekich, and Melissa McNeill, to Microsoft. As Explorer Interns, we were given the opportunity to experience the three primary disciplines here at Microsoft: Program Manager, Software Development Engineer, and Software Development Engineer in Test. Rotating positions throughout the course of development, we were able to experience what life is like working in the developer tools division. We were given the opportunity to contribute to one of Visual Studio’s great tools, the NuGet pack...

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 ...