A few questions on the topic. When adding an assembly to the GAC, does the assembly copy to the Windows \ assembly? If so, then how to find it? Through the command line, the assembly is added, but it does not appear in the assembly folder. Do I understand correctly that when I add a link, Visual Studio shows the list of assemblies in the GAC? If so, then why don't I see my assembly there? I added this: gacutil / i mydll.dll Writes: the assembly was successfully added to the cache
- 2No, not all assemblies from the GAC are shown in the Visual Studio list: stackoverflow.com/a/1987697/276994 - VladD
- By the way, the answer below is a link on the extension, which allows you to add links to assemblies directly from the GAC to the project: stackoverflow.com/a/2736187/1260215 - Shad
|
2 answers
Internal structure of GAC directories:
C: \ WINDOWS \ assembly \ GAC \
C: \ WINDOWS \ assembly \ GAC_32 \
C: \ WINDOWS \ assembly \ GAC_64 \
C: \ WINDOWS \ assembly \ GAC_MSIL \
by itself, this is for 64bit machines. I did not quite understand the meaning of the question.
either
gacutil -l
, or viewed in file managers.
- oneGAC is one. In the first paragraph, you just indicated its internal directory structure. - Shad
- @Shad, yes, you are right, the wording is wrong, this is a question of the vehicle about \ windows \ assembly \. - Max Zhukov
- Thanks for the reply and comments. It became clear where to dig further. - komka
|
Assemblies managed by .NET 4.0 and higher are located at C: \ Windows \ Microsoft.NET \ assembly \ GAC_MSIL
|