Visual Studio Blog

The official source of product insight from the Visual Studio Engineering Team

Walkthrough– Publishing an Extensibility Web Control Project Template (Part 2 of 2)

Introduction In Walkthrough-- Publishing a Custom Web Control (Part 1 of 2) you learned to create and publish a custom web control. You created the extensibility project manually, a procedure with many steps. Now that you have an extensibility project template, you can publish it to the Visual Studio gallery. Anyone who wants to create and ...

Programmatically adding/removing/querying VC++ Build Customizations

Build Customizations (Custom Build Rules in earlier editions) are commonly used for invoking external tools that translate files from one format to the other, often resulting in C++ sources that can be compiled at the C++ compilation step. In this post, I will explain how to programmatically add, remove,  and query for Build Customizations ...

A guide to .vcxproj and .props file structure

If you inspect the contents of a .vcxproj file (the new VC++ project file format in VS2010) in notepad or in VS editor (by first unloading the project and then choosing "Edit Foo.vcxproj" from the context menu in Solution Explorer), you will see that the various top-level MSBuild elements are laid out in a particular order. Go ahead and open...

Building on Cross targeting scenarios and 64-bit MSBuild

UPDATE: Most issues around MSBuild support for cross-bitness and 64-bit builds are fixed in .NET 4.5. As always, feedback is welcome! Please leave your comments in this blog post and report any bugs on Microsoft Connect.   During the Visual Studio 2010 development cycle a push to make the build experience better on Cross compilation...

Custom Build Steps, Tools, and Events

The VC++ build system is of course MSBuild based in VS 2010.  This automatically gives you a great deal more flexibility to customize your build than you had with .vcproj project files in prior releases.  We went out of our way to ensure that the .targets files that drive the build of a .vcxproj file in VS 2010 leverage as much ...