MATLAB Answers

How to add .Net library to global assembly cache?

19 ビュー (過去 30 日間)
azizullah khan
azizullah khan 2014 年 11 月 6 日
回答済み: Tohru Kikawada 2021 年 6 月 11 日
How can i add .net library to global assembly cache. When i add .net library for example
NET.addAssembly('abc.dll')
it gives an error:
'abc.dll' could not be found in the .NET Global Assembly Cache (GAC).
I can use private library means refer location of that library for example NET.addAssembly(C:\abc.dll') it works but i want it globally: Please share you experience with me thaks:::
  2 件のコメント
Markus Finkeldey
Markus Finkeldey 2017 年 7 月 18 日
Same here

サインインしてコメントする。

回答 (1 件)

Tohru Kikawada
Tohru Kikawada 2021 年 6 月 11 日
To add a .NET assembly to your global assembly cache, you'll need to use Global Assembly Cache Tool (Gacutil.exe). Please see the following documentation.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by