다음을 통해 공유


MvcRazorRuntimeCompilationOptions.AdditionalReferencePaths 속성

정의

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를 사용하면 컴파일러에 대한 추가 참조를 제공할 수 있습니다.

적용 대상