AssemblyDependencyResolver(String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化類別的新實例 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 檔案。 此檔案會在建置過程中輸出。