PostSharp 4.3 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / ITarget­Framework Interface
ITargetFramework Interface
Represents a version and variant of the .NET framework (running on a device) on which the project being built is design to run.

Namespace: PostSharp.Extensibility
Assembly: PostSharp (in PostSharp.dll) Version: (
public interface ITargetFramework

The ITargetFramework type exposes the following members.

Public propertyFrameworkMoniker
Unique string identifier of the target device.
Public propertyFrameworkProfile
Gets the target profile of the framework (e.g. WindowsPhone).
Public propertyTargetFrameworkFamily
Identifier of the framework family (NetFramework, NetCore, Silverlight, NetPortable).
Public propertyVersion
Gets the version of the target profile.
See Also