共用方式為


AssemblyIdentity.IsFrameworkAssembly Property

Returns True if this assembly is part of the .NET Framework.

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 ReadOnly Property IsFrameworkAssembly As Boolean
public bool IsFrameworkAssembly { get; }
public:
property bool IsFrameworkAssembly {
    bool get ();
}
member IsFrameworkAssembly : bool with get
function get IsFrameworkAssembly () : boolean

Property Value

Type: System.Boolean
A Boolean value indicating whether this assembly is part of the .NET Framework. True if this assembly is part of the .NET Framework; otherwise False.

.NET Framework Security

See Also

Reference

AssemblyIdentity Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace