Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are those stuff in C:\WINDOWS\ASSEMBLY\ directory? [closed]

Tags:

windows

I just came across this directory and it seems totally a different world.

Anyone knows what's that?

like image 677
COMer Avatar asked Sep 12 '10 04:09

COMer


People also ask

Is it safe to delete Windows assembly folder?

Generally, it is advisable to use the . NET command gacutil ( https://docs.microsoft.com/en-us/dotnet/framework/tools/gacutil-exe-gac-tool) to manage the contents of this folder. However, if you think, it has any empty folder, you can delete that. If you delete any non-empty folder, it might create the problem to run .

What is C Windows assembly folder?

Assemblies can be either libraries (. dll files) or executables (.exe files). The . NET Framework has a set of common libraries that can be used by any application which executes under the control of the . NET Framework and the C:\Windows\Assembly folder is where these common libraries are stored.

What is assembly file Windows?

Defined by Microsoft for use in recent versions of Windows, an assembly in the Common Language Infrastructure (CLI) is a compiled code library used for deployment, versioning, and security. There are two types: process assemblies (EXE) and library assemblies (DLL).

Where are GAC files located?

Starting with the . NET Framework 4, the default location for the Global Assembly Cache is %windir%\Microsoft.NET\assembly. In earlier versions of the . NET Framework, the default location is %windir%\assembly.


1 Answers

The .NET Framework is an environment (runtime) on top of which code executes. A .NET assembly is a container for code written to execute using the .NET Framework. Assemblies can be either libraries (.dll files) or executables (.exe files).

The .NET Framework has a set of common libraries that can be used by any application which executes under the control of the .NET Framework and the C:\Windows\Assembly folder is where these common libraries are stored.

The reason that the folder displays differently to other folders is because of the special role of this folder as the common location for shared libraries. Microsoft created a special view of this folder that provides easy access to information about the assemblies in that folder as well as providing easy access to operations commonly performed on an assembly such as the Uninstall option in the right-click menu for an assembly.

like image 196
Crippledsmurf Avatar answered Sep 24 '22 20:09

Crippledsmurf