共用方式為


VCReference.UseInBuild Property

Sets or gets whether referenced assemblies should be used in the build.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'宣告
Property UseInBuild As Boolean
    Get
    Set
bool UseInBuild { get; set; }
property bool UseInBuild {
    bool get ();
    void set (bool value);
}
abstract UseInBuild : bool with get, set
function get UseInBuild () : boolean
function set UseInBuild (value : boolean)

Property Value

Type: System.Boolean
TRUE indicates that referenced assemblies should be used in the build. FALSE indicates that the assemblies are to be excluded from the build, but included in the designers.

.NET Framework Security

See Also

Reference

VCReference Interface

Microsoft.VisualStudio.VCProjectEngine Namespace