Bagikan melalui


ManifestWriter.WriteManifest Method (Manifest, String, String)

Writes the specified manifest object to XML.

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.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Shared Sub WriteManifest ( _
    manifest As Manifest, _
    path As String, _
    targetframeWorkVersion As String _
)
public static void WriteManifest(
    Manifest manifest,
    string path,
    string targetframeWorkVersion
)
public:
static void WriteManifest(
    Manifest^ manifest, 
    String^ path, 
    String^ targetframeWorkVersion
)
static member WriteManifest : 
        manifest:Manifest * 
        path:string * 
        targetframeWorkVersion:string -> unit
public static function WriteManifest(
    manifest : Manifest, 
    path : String, 
    targetframeWorkVersion : String
)

Parameters

  • targetframeWorkVersion
    Type: System.String

    The target framework version.

.NET Framework Security

See Also

Reference

ManifestWriter Class

WriteManifest Overload

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace