ProjectFileConverter.Convert Method (ProjectLoadSettings)
Note: This API is now 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.
Namespace: Microsoft.Build.Conversion
Assembly: Microsoft.Build.Conversion.Core (in Microsoft.Build.Conversion.Core.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use parameterless overload instead")> _
Public Sub Convert ( _
projectLoadSettings As ProjectLoadSettings _
)
[ObsoleteAttribute("Use parameterless overload instead")]
public void Convert(
ProjectLoadSettings projectLoadSettings
)
[ObsoleteAttribute(L"Use parameterless overload instead")]
public:
void Convert(
ProjectLoadSettings projectLoadSettings
)
[<ObsoleteAttribute("Use parameterless overload instead")>]
member Convert :
projectLoadSettings:ProjectLoadSettings -> unit
public function Convert(
projectLoadSettings : ProjectLoadSettings
)
Parameters
projectLoadSettings
Type: Microsoft.Build.BuildEngine.ProjectLoadSettingsA ProjectLoadSettings flag that determine whether the project ignores non-existent .target files when loading.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.