Share via


PackageRegistrationAttribute.UseManagedResourcesOnly Property

Gets or sets whether package resources are described in a managed package or in a satellite UI .dll file.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Property UseManagedResourcesOnly As Boolean
public bool UseManagedResourcesOnly { get; set; }
public:
property bool UseManagedResourcesOnly {
    bool get ();
    void set (bool value);
}
member UseManagedResourcesOnly : bool with get, set
function get UseManagedResourcesOnly () : boolean 
function set UseManagedResourcesOnly (value : boolean)

Property Value

Type: System.Boolean
Set to true if package resources are described in a managed package, false if they are in a satellite UI .dll file.

Remarks

For managed resources, there should not be a native UI .dll file registered. For a description of the issues that surround managed resources, see Resources in Managed VSPackages.

.NET Framework Security

See Also

Reference

PackageRegistrationAttribute Class

Microsoft.VisualStudio.Shell Namespace

Other Resources

Registering VSPackages