AssemblyDebug Property
Collapse the table of content
Expand the table of content

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 _
HRESULT __stdcall get_AssemblyDebug(
   /* [out, retval] */ linkAssemblyDebug* retVal
HRESULT __stdcall put_AssemblyDebug(
   /* [in] */ linkAssemblyDebug NewValue
public linkAssemblyDebug AssemblyDebug{get; set;}
[JScript .NET]
public function get AssemblyDebug() : linkAssemblyDebug
public function set AssemblyDebug(
   NewValue : linkAssemblyDebug


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


' 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

© 2015 Microsoft