How to add .Net library to global assembly cache?

28 vues (au cours des 30 derniers jours)
azizullah khan
azizullah khan le 6 Nov 2014
Modifié(e) : KAE le 12 Mar 2024
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 commentaires
Markus Finkeldey
Markus Finkeldey le 18 Juil 2017
Same here
rizqi basith
rizqi basith le 15 Jan 2024
same here and still find. btw sir how to make private library?

Connectez-vous pour commenter.

Réponses (1)

Tohru Kikawada
Tohru Kikawada le 11 Juin 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.
  1 commentaire
KAE
KAE le 12 Mar 2024
Modifié(e) : KAE le 12 Mar 2024
Please give some step by step info on how to use Gacutil.exe in a Matlab program to resove the GAC error.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by