Export (0) Print
Expand All
Expand Minimize

AssemblyDebug Property

Visual Studio .NET 2003

Specifies the level of debugging support. Exposes the functionality of the /ASSEMBLYDEBUG linker option.

[Visual Basic .NET]
Public Property AssemblyDebug() As linkAssemblyDebug
[Visual Basic 6]
Property Get AssemblyDebug() As linkAssemblyDebug
Property Let AssemblyDebug( _
   ByVal NewValue As linkAssemblyDebug _
) 
[C++]
HRESULT __stdcall get_AssemblyDebug(
   /* [out, retval] */ linkAssemblyDebug* retVal
);
HRESULT __stdcall put_AssemblyDebug(
   /* [in] */ linkAssemblyDebug NewValue
);
[C#]
public linkAssemblyDebug AssemblyDebug{get; set;}
[JScript .NET]
public function get AssemblyDebug() : linkAssemblyDebug
public function set AssemblyDebug(
   NewValue : linkAssemblyDebug
)

Remarks

Use the linkAssemblyDebug enumeration to set the value of this property.

Example

' add reference to Microsoft.VisualStudio.VCProjectEngine
Imports EnvDTE
Imports Microsoft.VisualStudio.VCProjectEngine

Public Module Module1
  Sub Test()
    Dim prj As VCProject
    Dim cfgs, tools As IVCCollection
    Dim cfg As VCConfiguration
    Dim tool As VCLinkerTool
    prj = DTE.Solution.Projects.Item(1).Object
    cfgs = prj.Configurations
    cfg = cfgs.Item(1)
    tool = cfg.Tools("VCLinkerTool")
    tool.AssemblyDebug = linkAssemblyDebug.linkAssemblyDebugFull
  End Sub
End Module

See Samples for Project Model Extensibility for information on how to compile and run this sample.

See Also

Applies To: VCLinkerTool Object

Show:
© 2014 Microsoft