Udostępnij za pośrednictwem


Właściwość VCCLCompilerTool.AssemblerListingLocation —

Pobiera lub ustawia ścieżkę względną i/lub nazwę pliku ASM aukcji.AssemblerListingLocationOpisuje funkcje kompilatora /Fa opcji.

Przestrzeń nazw:  Microsoft.VisualStudio.VCProjectEngine
Zestaw:  Microsoft.VisualStudio.VCProjectEngine (w Microsoft.VisualStudio.VCProjectEngine.dll)

Składnia

'Deklaracja
Property AssemblerListingLocation As String
string AssemblerListingLocation { get; set; }
property String^ AssemblerListingLocation {
    String^ get ();
    void set (String^ value);
}
abstract AssemblerListingLocation : string with get, set
function get AssemblerListingLocation () : String
function set AssemblerListingLocation (value : String)

Wartość właściwości

Typ: System.String
Ścieżka względna i/lub nazwę pliku ASM aukcji.

Przykłady

Zobacz Jak: kompilowania przykładowy kod do projektu modelu rozszerzalności informacji na temat skompilować i uruchomić ten przykład.

Poniższy przykład modyfikuje AssemblerListingLocation właściwość w zintegrowane środowisko programistyczne (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.AssemblerListingLocation = "MyFile"
    End Sub
End Module

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

VCCLCompilerTool Interfejs

Przestrzeń nazw Microsoft.VisualStudio.VCProjectEngine