Showing tag results for C#

Jul 8, 2010
Post comments count0
Post likes count0

Debugging MSBuild script with Visual Studio (2)

Visual Studio Team
Visual Studio Team

In my previous post, I showed how to enable the hidden Visual Studio debugger for MSBuild script, and demonstrated it by stepping through the evaluation of a C# project. In this post, I'll keep debugging into the actual build of that project. Note that this blog is rather narrow, so some of the screenshots may be hard to see – you can click on the...

Debugging and DiagnosticsC#MSBuild
Jul 6, 2010
Post comments count0
Post likes count0

Debugging MSBuild script with Visual Studio

Visual Studio Team
Visual Studio Team

Back when we started 4.0 development, I polled readers of the MSBuild blog to find out what features were most important to them. Debugging was #1 which was very surprising to us. Thinking about it more, it makes sense. In our team we've become so proficient ourselves at reading the XML and making sense of logs that it's easy to forget how difficul...

Debugging and DiagnosticsC#MSBuild
Jun 1, 2010
Post comments count0
Post likes count0

Better Parallelism in MSBuild 4 with YieldDuringToolExecution

Visual Studio Team
Visual Studio Team

Introduction In MSBuild 4 we introduced several performance improvements, particular for large interdependent builds.  By and large they are automatic and you receive their benefit without making any changes to the way your build process in authored.  However, there are still some cases where we are unable to make the best decision.  One suc...

C#Node.jsXAML
Jun 1, 2010
Post comments count0
Post likes count0

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

Visual Studio Team
Visual Studio Team

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

C#ASP.NETExtensions
May 25, 2010
Post comments count0
Post likes count0

Visual Studio Managed Multi-Targeting: Part 2: Multi-Targeting in Action

Visual Studio Team
Visual Studio Team

Now that we have gone through some key concepts in the previous part in this series, before we go any further in terms of detailed technical concepts, it would be nice to have some “mental visual model” of how multi-targeting impacts almost all project related scenarios in Visual Studio 2010 and thus benefits the users. Scott Guthrie’s excel...

C#ASP.NETVisual Studio 2010
May 25, 2010
Post comments count0
Post likes count0

Programmatically adding/removing/querying VC++ Build Customizations

Visual Studio Team
Visual Studio Team

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 in a V...

C#Node.js
May 25, 2010
Post comments count0
Post likes count0

Walkthrough– Publishing a Custom Web Control (Part 1 of 2)

Visual Studio Team
Visual Studio Team

The Visual Studio 2010 SDK adds several project templates to Visual Studio that let you create and share custom controls. These are called extensibility projects. In addition to compiling the control, the extensibility project prepares it for publication by incorporating it into a VSIX extension. A VSIX control extension can be shared by publishing...

C#ASP.NETExtensions
May 14, 2010
Post comments count0
Post likes count0

A guide to .vcxproj and .props file structure

Visual Studio Team
Visual Studio Team

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

C#Node.jsVisual Studio 2010
May 13, 2010
Post comments count0
Post likes count0

How to create a great online project template (or how to make applications that speak)

Visual Studio Team
Visual Studio Team

Like the project templates installed with Visual Studio, online project templates enable people to easily start creating various applications. It’s not just Microsoft that creates these templates -- anyone can create an online template and publish it at the Visual Studio Gallery.  Once it’s published, developers can access online project templates ...

C#
May 7, 2010
Post comments count0
Post likes count0

Building on Cross targeting scenarios and 64-bit MSBuild

Visual Studio Team
Visual Studio Team

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

C#Node.jsXAML