ProjectFileConverter Class

 

Converts a Visual Studio project file to the Visual Studio 2010 project file format. 

Namespace:   Microsoft.Build.Conversion
Assembly:  Microsoft.Build.Conversion.v4.0 (in Microsoft.Build.Conversion.v4.0.dll)

System.Object
  Microsoft.Build.Conversion.ProjectFileConverter

public sealed class ProjectFileConverter

NameDescription
System_CAPS_pubmethodProjectFileConverter()

Initializes a new instance of the ProjectFileConverter class.

NameDescription
System_CAPS_pubpropertyConversionSkippedBecauseProjectAlreadyConverted

Gets a value indicating whether the last attempted conversion was skipped because the project file is already in the latest format.

System_CAPS_pubpropertyConversionWarnings

Gets a list of warnings generated during the conversion.

System_CAPS_pubpropertyIsUserFile

Gets or sets a value indicating whether the project file being converted is a .user file.

System_CAPS_pubpropertyNewProjectFile

Gets or sets the new project file name.

System_CAPS_pubpropertyOldProjectFile

Gets or sets the old project file name.

System_CAPS_pubpropertySolutionFile

Gets or sets the name of the solution file that contains the project being converted.

NameDescription
System_CAPS_pubmethodConvert()

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

System_CAPS_pubmethodConvert(ProjectLoadSettings)

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

System_CAPS_pubmethodConvert(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.

System_CAPS_pubmethodConvertInMemory()

Creates a new project in memory from the OldProjectFile.

System_CAPS_pubmethodConvertInMemory(Engine)

Obsolete. Creates a new project in memory from the OldProjectFile.

System_CAPS_pubmethodConvertInMemory(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.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodFSharpSpecificConversions(Boolean)

Performs conversions specific to F# projects (VS2008 CTP -> VS2012) and (VS2010 -> VS2012).

This involves: changing the location of FSharp targets, and for 2008CTP, adding explicit mscorlib and FSharp.Core references.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: