RazorViewEngineOptions.AdditionalCompilationReferences 属性      
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This property is obsolete and will be removed in a future version. See https://aka.ms/AA1x4gg for details.
MetadataReference获取应包含在 Razor 编译中的实例,以及 由 MetadataReferenceFeatureProvider发现的实例。
public:
 property System::Collections::Generic::IList<Microsoft::CodeAnalysis::MetadataReference ^> ^ AdditionalCompilationReferences { System::Collections::Generic::IList<Microsoft::CodeAnalysis::MetadataReference ^> ^ get(); };public System.Collections.Generic.IList<Microsoft.CodeAnalysis.MetadataReference> AdditionalCompilationReferences { get; }[System.Obsolete("This property is obsolete and will be removed in a future version. See https://aka.ms/AA1x4gg for details.")]
public System.Collections.Generic.IList<Microsoft.CodeAnalysis.MetadataReference> AdditionalCompilationReferences { get; }member this.AdditionalCompilationReferences : System.Collections.Generic.IList<Microsoft.CodeAnalysis.MetadataReference>[<System.Obsolete("This property is obsolete and will be removed in a future version. See https://aka.ms/AA1x4gg for details.")>]
member this.AdditionalCompilationReferences : System.Collections.Generic.IList<Microsoft.CodeAnalysis.MetadataReference>Public ReadOnly Property AdditionalCompilationReferences As IList(Of MetadataReference)属性值
- 属性