ProjectFileConverter.Convert Método

Definição

Converte o projeto especificado pela propriedade OldProjectFile e o salva no arquivo especificado pela propriedade NewProjectFile.Converts the project specified by the OldProjectFile property and saves it in the file specified by the NewProjectFile property.

Sobrecargas

Convert()

Converte o projeto especificado pela propriedade OldProjectFile e o salva no arquivo especificado pela propriedade NewProjectFile.Converts the project specified by the OldProjectFile property and saves it in the file specified by the NewProjectFile property.

Convert(ProjectLoadSettings)
Obsoleto.

Converte o projeto especificado pela propriedade OldProjectFile e o salva no arquivo especificado pela propriedade NewProjectFile.Converts the project specified by the OldProjectFile property and saves it in the file specified by the NewProjectFile property.

Convert(String)
Obsoleto.

Esse é o método de ponto de entrada, que realiza a conversão de formato de arquivo de projeto.This is the entry point method, which performs the project file format conversion. Esse método substituirá "newProjectFile" se um já existir, então o chamador do método deverá confirmar com o usuário se aquilo é o que ele realmente deseja fazer.This method will overwrite "newProjectFile" if it already exists, so the caller of this method should confirm with the user if that's what he really wants to do.

Convert()

Converte o projeto especificado pela propriedade OldProjectFile e o salva no arquivo especificado pela propriedade NewProjectFile.Converts the project specified by the OldProjectFile property and saves it in the file specified by the NewProjectFile property.

public:
 void Convert();
public void Convert ();
member this.Convert : unit -> unit
Public Sub Convert ()

Aplica-se a

Convert(ProjectLoadSettings)

Cuidado

Use parameterless overload instead

Converte o projeto especificado pela propriedade OldProjectFile e o salva no arquivo especificado pela propriedade NewProjectFile.Converts the project specified by the OldProjectFile property and saves it in the file specified by the NewProjectFile property.

public:
 void Convert(Microsoft::Build::BuildEngine::ProjectLoadSettings projectLoadSettings);
public void Convert (Microsoft.Build.BuildEngine.ProjectLoadSettings projectLoadSettings);
[System.Obsolete("Use parameterless overload instead")]
public void Convert (Microsoft.Build.BuildEngine.ProjectLoadSettings projectLoadSettings);
member this.Convert : Microsoft.Build.BuildEngine.ProjectLoadSettings -> unit
[<System.Obsolete("Use parameterless overload instead")>]
member this.Convert : Microsoft.Build.BuildEngine.ProjectLoadSettings -> unit
Public Sub Convert (projectLoadSettings As ProjectLoadSettings)

Parâmetros

projectLoadSettings
ProjectLoadSettings

Um sinalizador ProjectLoadSettings que determina se o projeto ignora arquivos .target inexistentes durante o carregamento.A ProjectLoadSettings flag that determine whether the project ignores non-existent .target files when loading.

Atributos

Aplica-se a

Convert(String)

Cuidado

Use parameterless overload instead.

Esse é o método de ponto de entrada, que realiza a conversão de formato de arquivo de projeto.This is the entry point method, which performs the project file format conversion. Esse método substituirá "newProjectFile" se um já existir, então o chamador do método deverá confirmar com o usuário se aquilo é o que ele realmente deseja fazer.This method will overwrite "newProjectFile" if it already exists, so the caller of this method should confirm with the user if that's what he really wants to do.

public:
 void Convert(System::String ^ msbuildBinPath);
[System.Obsolete("Use parameterless overload instead.")]
public void Convert (string msbuildBinPath);
[<System.Obsolete("Use parameterless overload instead.")>]
member this.Convert : string -> unit
Public Sub Convert (msbuildBinPath As String)

Parâmetros

msbuildBinPath
String

O caminho totalmente qualificado para MSBuild.exe.The fully qualified path to MSBuild.exe.

Atributos

Aplica-se a