How to add .Net library to global assembly cache?

44 次查看(过去 30 天)
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:::

回答(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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Get Started with Microsoft .NET 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by