How to add .Net library to global assembly cache?

27 ビュー (過去 30 日間)
azizullah khan
azizullah khan 2014 年 11 月 6 日
編集済み: KAE 2024 年 3 月 12 日
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:::
  3 件のコメント
Markus Finkeldey
Markus Finkeldey 2017 年 7 月 18 日
Same here
rizqi basith
rizqi basith 2024 年 1 月 15 日
same here and still find. btw sir how to make private library?

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

回答 (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.
  1 件のコメント
KAE
KAE 2024 年 3 月 12 日
編集済み: KAE 2024 年 3 月 12 日
Please give some step by step info on how to use Gacutil.exe in a Matlab program to resove the GAC error.

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

Community Treasure Hunt

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

Start Hunting!

Translated by