AssemblyDependencyResolver(String) 建構函式

定義

初始化類別的新實例 AssemblyDependencyResolver ,並有路徑指向元件的組裝。

public:
 AssemblyDependencyResolver(System::String ^ componentAssemblyPath);
public AssemblyDependencyResolver(string componentAssemblyPath);
new System.Runtime.Loader.AssemblyDependencyResolver : string -> System.Runtime.Loader.AssemblyDependencyResolver
Public Sub New (componentAssemblyPath As String)

參數

componentAssemblyPath
String

就是元件或外掛管理入口點的路徑。

備註

componentAssemblyPath 可以是相對路徑或絕對路徑。 組合語言必須在同一目錄中附有一個描述組合語言相依關係的 deps.json 檔案。 此檔案會在建置過程中輸出。

適用於