Showing results for MSBuild - Visual Studio Blog

May 11, 2010
0
0

Assembly Resolution in MSBuild and Visual Studio Series Introduction

Visual Studio Blog
Visual Studio Blog

Assembly references are an integral part of build process. When the assembly references passed to the compiler are correct everything works but when they are not projects stop building.  When this happens It can be frustrating to try and figure out why a reference was resolved from one location rather than another thereby causing the problem. ...

Visual Studio 2010MSBuild
May 7, 2010
0
0

Building on Cross targeting scenarios and 64-bit MSBuild

Visual Studio Blog
Visual Studio Blog

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
May 5, 2010
0
0

MSBuild Property Functions (2)

Visual Studio Blog
Visual Studio Blog

Some more information about this 4.0 feature. (I've also updated the first post with this, so everything's in one place for your reference.)Built-in MSBuild functionsThe full list of built-in [MSBuild] functions, like the one above, are in the MSDN topic here. They include arithmetic (useful, for example, for modifying version numbers), functions t...

C#MSBuild
Apr 26, 2010
0
0

Custom Build Steps, Tools, and Events

Andrew Arnott
Andrew Arnott

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

C#ExtensionsMSBuild
Apr 2, 2010
0
0

MSBuild Property Functions

Visual Studio Blog
Visual Studio Blog

Have you ever wanted to do something simple in a build, like get a substring of a property value, and found that MSBuild didn't have syntax for it? You then had to write a task for it, which was tiresome to do for such a simple operation. What's more, if you wanted to do this during evaluation – outside of a target – you couldn't run a task there a...

C#MSBuild
Mar 7, 2010
0
0

Tuning C++ build parallelism in VS2010

Visual Studio Blog
Visual Studio Blog

A great way to get fast builds on a multiprocessor computer is to take advantage of as much parallelism in your build as possible. If you have C++ projects, there’s two different kinds of parallelism you can configure. What are the dials I can set? Project-level parallel build, which is controlled by MSBuild, is set at the solution level in Visual...

C#Node.jsPerformance
Mar 5, 2010
0
0

MSBuild 4 Detailed Build Summary

Visual Studio Blog
Visual Studio Blog

Introduction When we were developing the current version of MSBuild, we spent a lot of time analyzing builds to determine where our performance issues lay. The standard logging, even on diagnostic verbosity and with the performance summary enabled (/clp:PerformanceSummary=true on the MSBuild command line) doesn’t give us the kind of information we ...

Debugging and DiagnosticsC#Node.js
Feb 26, 2010
0
0

My Visual Studio 2008 is broken after uninstalling .NET Framework 4.0

Visual Studio Blog
Visual Studio Blog

  If you find out that after trying out one of the beta versions of the new Visual Studio 2010 and uninstalling it together with the .NET Framework 4 or uninstalling only .NET Framework 4, every time you try to load a project on Visual Studio 2008 you face the following error:   “Unable to read the project file ‘Project.proj’. MSBuildTo...

.NETMSBuild
Feb 25, 2010
0
0

Getting Started with MSBuild

Visual Studio Blog
Visual Studio Blog

I have had several customers asking me about MSBuild and how to get started learning the language and using it. A little over a year and a half ago, I joined the MSBuild team. When I got here, I did not even know what MSBuild was, and I have been a Visual Studio user for many years. This article is to help you understand what MSBuild is, how it rel...

C#Node.jsMSBuild
Feb 20, 2010
0
0

MSBuild Task Factories: guest starring Windows Powershell

Andrew Arnott
Andrew Arnott

One of the cool new features of MSBuild 4.0 is the extensible task factory.  Task factories allow you to include scripts directly in your project file (or an imported .targets file) and have those scripts parsed and executed by your favorite interpreter.  Those scripts might even be C# or VB.NET code snippets that get compiled into assemb...

C#XAMLPython