MvcRazorRuntimeCompilationOptions.AdditionalReferencePaths 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 Razor 檔案執行時間編譯期間所使用之其他參考的路徑。
public:
property System::Collections::Generic::IList<System::String ^> ^ AdditionalReferencePaths { System::Collections::Generic::IList<System::String ^> ^ get(); };
public System.Collections.Generic.IList<string> AdditionalReferencePaths { get; }
member this.AdditionalReferencePaths : System.Collections.Generic.IList<string>
Public ReadOnly Property AdditionalReferencePaths As IList(Of String)
屬性值
備註
根據預設,收集參考的執行時間編譯器 ICompilationReferencesProvider 會使用 編譯 Razor 檔案。 此 API 允許提供編譯器的其他參考。