What is gac? What are the steps to create an assembly and add it to the gac?
Answer / Neha Gupta
Global Assembly Cache (GAC) is a directory where Microsoft .NET Framework stores shared assemblies that are used by multiple applications. Here's how you can create an assembly and add it to GAC:n
1. Build your project, which generates the .dll file.
2. Open Command Prompt or PowerShell with administrative privileges.
3. Change the directory to where the .dll file is located.
4. Type the command 'gacutil /i MyAssembly.dll', replacing 'MyAssembly' with your assembly name.nThis will add the specified assembly to the GAC.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is c# difficult to learn?
Is lazy thread safe c#?
Are enums static c#?
What is difference between write and writeline in c#?
Why c# is called type safe language?
Can you have more than one namespace in c#?
Are c# references the same as c++ references?
Why is c# better than java?
What is private constructor c#?
What are extensions in c#?
what is CLONE() method?
What is difference between for and foreach loop in c#?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)