共用方式為


ProjectFileConverter.Convert Method

Include Protected Members
Include Inherited Members

Converts the project specified by the OldProjectFile property and saves it in the file specified by the NewProjectFile property.

MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Convert() Converts the project specified by the OldProjectFile property and saves it in the file specified by the NewProjectFile property.MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public method Convert(String) Obsolete. This is the entry point method, which performs the project file format conversion. This method will overwrite "newProjectFile" if it already exists, so the caller of this method should confirm with the user that that's what he really wants to do.MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Public method Convert(ProjectLoadSettings) Obsolete. Converts the project specified by the OldProjectFile property and saves it in the file specified by the NewProjectFile property.MSBuild is now included in Visual Studio instead of the .NET Framework.You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Top

See Also

Reference

ProjectFileConverter Class

Microsoft.Build.Conversion Namespace