WindowClass.Versioned Property
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets a value that controls whether the internal window class name that is used in registration contains the version of the assembly that contains the window class.
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 Versioned As Boolean
public bool Versioned { get; }
public:
property bool Versioned {
bool get ();
}
member Versioned : bool with get
function get Versioned () : boolean
Property Value
Type: System.Boolean
yes if the name that is used in registration contains the version of the assembly; otherwise, no. The default is yes.
Remarks
This property controls whether the internal window class name that is used in registration contains the version of the assembly that contains the window class. The value of this attribute can be yes or no. The default is yes. The value no should be used only if the same window class is defined by a side-by-side component and an equivalent non-side-by-side component and you want to treat them as the same window class. Note that the usual rules about window class registration apply: only the first component that registers the window class will be able to register it, because it does not have a version applied to it.
.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.
See Also
Reference
Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace