This documentation is archived and is not being maintained.
ProjectFileConverter Class
Visual Studio 2010
Converts a Visual Studio project file to the Visual Studio 2010 project file format.
Assembly: Microsoft.Build.Conversion.v4.0 (in Microsoft.Build.Conversion.v4.0.dll)
The ProjectFileConverter type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ConversionSkippedBecauseProjectAlreadyConverted | Gets a value indicating whether the last attempted conversion was skipped because the project file is already in the latest format. |
![]() | ConversionWarnings | Gets a list of warnings generated during the conversion. |
![]() | IsUserFile | Gets or sets a value indicating whether the project file being converted is a .user file. |
![]() | NewProjectFile | Gets or sets the new project file name. |
![]() | OldProjectFile | Gets or sets the old project file name. |
![]() | SolutionFile | Gets or sets the name of the solution file that contains the project being converted. |
| Name | Description | |
|---|---|---|
![]() | Convert() | Converts the project specified by the OldProjectFile property and saves it in the file specified by the NewProjectFile property. |
![]() | Convert(ProjectLoadSettings) | Obsolete. Converts the project specified by the OldProjectFile property and saves it in the file specified by the NewProjectFile property. |
![]() | 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. |
![]() | ConvertInMemory() | Creates a new project in memory from the OldProjectFile. |
![]() | ConvertInMemory(Engine) | Obsolete. Creates a new project in memory from the OldProjectFile. |
![]() | ConvertInMemory(Engine, ProjectLoadSettings) | Obsolete. This is the entry point method, which performs the project file format conversion. This method will simply create a new MSBuild Project object in memory, instead of trying to write it to disk. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
