MATLAB Answers

How to add .Net library to global assembly cache?

19 views (last 30 days)
azizullah khan
azizullah khan on 6 Nov 2014
Answered: Tohru Kikawada on 11 Jun 2021
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:::

Answers (1)

Tohru Kikawada
Tohru Kikawada on 11 Jun 2021
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!