Today, we released Visual Studio 2015 CTP 5 with new features in debugging, diagnostics, the XAML language service, and ASP.NET 5 that we added after the November Preview release. While not a major release, this CTP is another opportunity for you to provide us with feedback as we make progress towards releasing. You can read about the new features in Visual Studio 2015 CTP 5, and also download it. Alternatively, save some time and use the provided virtual machine image in Azure. Here is a brief look at some of the new features since the November Preview.
Debugging and Diagnostics Improvements
There is a new Diagnostic Tools window that now appears while debugging that gives you Debugger Events (with IntelliTrace), Memory Usage, and CPU Usage. Read more about the improved diagnostic tools here.
The window appears for the following project types:
- Managed WPF, WinForms, Console projects
- Native Win32, Console, and MFC projects
- ASP.NET 4 using IIS Express
- Managed or Native 32-bit Windows Store projects running locally
(The feature doesn’t currently support ASP.NET 5 and IIS, as well as Windows Store projects that are 64-bit, using JavaScript, running on a remote device, or running on a phone.)
The Debugger Events tool (with IntelliTrace) gives you access to all Break, Output, and IntelliTrace events collected during your debugging session. VS presents the data both as a timeline and as a tabular view and the two views are synchronized.
The Memory Usage tool enables you to monitor the memory usage of your app while you are debugging. You can also take and compare detailed snapshots of native and managed memory to analyze the cause of memory growth and memory leaks.
The CPU Usage tool enables you to monitor the CPU usage of your application by viewing a live CPU graph while you are debugging.
You can also inspect and diagnose performance issues using the Timeline tool in the Performance and Diagnostics hub. This tool helps you improve the performance of your WPF and Windows Store 8.1 applications by a providing semantically-rich, scenario-centric view of your application’s resource consumption. You can analyze the time your application spends in preparing UI frames and servicing network and disk requests for scenarios such as Application Startup and Page Load. This new tool replaces the existing XAML UI Responsiveness tool in the Performance and Diagnostics hub. Read more about the new Timeline tool here.
New XAML Language Service
We have rebuilt the XAML language service on top of the .NET Compiler Platform ("Roslyn") to provide an improved XAML editing experience with rich IntelliSense that is faster and more reliable. Right now, you won’t notice a lot of changes, but the new architecture makes it much easier for us to add features. On the docket are features such as cross language refactoring operations, improved IntelliSense filtering, and better data binding IntelliSense.
Thanks to this language service and based on customer requests, in Visual Studio 2015 we have pivoted Blend to focus more on being a design-oriented tool for XAML developers. Therefore, if you’re using Visual Studio 2015 for code-centric XAML authoring, you can now choose to have a code centric workspace by disabling the XAML designer in Tools->Options->Xaml Designer.
ASP.NET Enhancements
In this release we also added some new features to the ASP.NET 5 experience as well as improved performance. For instance, in previous releases the Add Reference dialog only supported referencing other ASP.NET 5 projects. You can now add a reference to a standard C# project as well. We also made IntelliSense and validation improvements to the HTML, CSS, and JavaScript editors as well as better support for client-side task runners such as Grunt and Gulp that run alongside the Task Runner Explorer. You can also now select the desired browser when running or debugging an ASP.NET 5 project.
We also improved the project settings experience. In previous releases the run/debug settings were defined within Visual Studio and could not be modified. With this release, you can override those settings in the debugSettings.json file in the project. In a future release you will be able to access a properties page to update this file. In addition to being able to run and debug your project you can now also run and debug any commands defined in your project.json file directly from Visual Studio. Read more about the ASP.NET 5 improvements here.
Download Visual Studio 2015 CTP 5 and share your feedback on the next version of Visual Studio and .NET with us via Connect, UserVoice, or through Send-a-Smile in the Visual Studio IDE.
Thanks,
John
John Montgomery, Director of Program Management, Visual Studio Platform
John has been at Microsoft for 15 years, working in developer technologies the whole time. Most recently before working on the Visual Studio core development environment, he was working on the tools for Windows 8 development.