Share via


MvcRazorRuntimeCompilationOptions.AdditionalReferencePaths Property

Definition

Gets paths to additional references used during runtime compilation of Razor files.

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)

Property Value

Remarks

By default, the runtime compiler ICompilationReferencesProvider to gather references uses to compile a Razor file. This API allows providing additional references to the compiler.

Applies to