DependencyContext.CompileLibraries 属性

定义

获取用于编译应用程序的库的列表。

public:
 property System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::CompilationLibrary ^> ^ CompileLibraries { System::Collections::Generic::IReadOnlyList<Microsoft::Extensions::DependencyModel::CompilationLibrary ^> ^ get(); };
public System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.CompilationLibrary> CompileLibraries { get; }
member this.CompileLibraries : System.Collections.Generic.IReadOnlyList<Microsoft.Extensions.DependencyModel.CompilationLibrary>
Public ReadOnly Property CompileLibraries As IReadOnlyList(Of CompilationLibrary)

属性值

用于编译应用程序的库列表。

注解

仅当 PreserveCompilationContext 项目属性设置为 True时,此属性才会完全填充。 否则,此属性的内容可能不完整或为空。

适用于