Share via


VCCLCompilerTool.AssemblerOutput-Eigenschaft

Ruft ab oder legt fest ausgabedatei den Inhalt der Assemblersprachen.AssemblerOutput macht die Funktionen der /FA, /Fa (Listendatei) Optionen des Compilers verfügbar.

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

Syntax

'Declaration
Property AssemblerOutput As asmListingOption
asmListingOption AssemblerOutput { get; set; }
property asmListingOption AssemblerOutput {
    asmListingOption get ();
    void set (asmListingOption value);
}
abstract AssemblerOutput : asmListingOption with get, set
function get AssemblerOutput () : asmListingOption
function set AssemblerOutput (value : asmListingOption)

Eigenschaftswert

Typ: Microsoft.VisualStudio.VCProjectEngine.asmListingOption
Eine asmListingOption-Enumeration.

Hinweise

Verwenden Sie die asmListingOption-Enumeration legen Sie den Wert dieser Eigenschaft ändern.

Beispiele

Weitere Informationen finden Sie unter Gewusst wie: Kompilieren von Beispielcode für die Erweiterbarkeit von Projektmodellen Informationen zum Ändern dieses Beispiel kompiliert und ausgeführt wird.

Im folgenden Beispiel wird die AssemblerOutput-Eigenschaft in der integrierten Entwicklungsumgebung (IDE):

' 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 VCCLCompilerTool
        prj = DTE.Solution.Projects.Item(1).Object
        cfgs = prj.Configurations
        cfg = cfgs.Item(1)
        tool = cfg.Tools("VCCLCompilerTool")
        tool.AssemblerOutput = asmListingOption.asmListingAsmSrc
    End Sub
End Module

.NET Framework-Sicherheit

Siehe auch

Referenz

VCCLCompilerTool Schnittstelle

Microsoft.VisualStudio.VCProjectEngine-Namespace