Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
MSBuild Reference
 .Targets Files

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework General Reference
MSBuild .Targets Files

MSBuild ships with several .targets files that contain items, properties, targets, and tasks for common scenarios. These files are automatically imported into most Visual Studio project files to simplify maintenance and readability.

Projects typically import one or more .targets files to define their build process. For example a Visual C# project created by Visual Studio will import Microsoft.CSharp.targets which imports Microsoft.Common.targets. The Visual C# project itself will define the items and properties specific to that project, but the standard build rules for a Visual C# project are defined in the imported .targets files.

.Targets file

Description

Microsoft.Common.Targets

Defines the steps in the standard build process for Visual Basic, Visual C#, and Visual J# projects.

Microsoft.CompactFramework.Common.Targets

Defines the steps in the standard build process for all .NET Compact Framework projects.

Microsoft.CompactFramework.CSharp.Targets

Defines the steps in the standard build process for Visual C# .NET Compact Framework projects.

Microsoft.CompactFramework.CSharp.v1.Targets

Defines the steps in the standard build process for Visual C# projects that target .NET Compact Framework version 1.0.

Microsoft.CompactFramework.VisualBasic.Targets

Defines the steps in the standard build process for Visual Basic .NET Compact Framework projects.

Microsoft.CompactFramework.VisualBasic.v1.Targets

Defines the steps in the standard build process for Visual Basic projects that target .NET Compact Framework version 1.0.

Microsoft.CSharp.Targets

Defines the steps in the standard build process for Visual C# projects.

Microsoft.VisualBasic.Targets

Defines the steps in the standard build process for Visual Basic projects.

Microsoft.VisualJSharp.Targets

Defines the steps in the standard build process for Visual J# projects.

Concepts

Reference

Other Resources

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker