CodeSteps

Python, C, C++, C#, PowerShell, Android, Visual C++, Java ...

Global Assembly Cache (GAC)

.Net – Assemblies – gacutil

We have created the hello.exe assembly in our previous article and installed it into Global Assembly Cache (GAC). Let’s look at where in GAC this assembly is installed. As we discussed in our previous article(s), GAC is the location where shared assemblies will be placed. Where this GAC is located? For the .Net version prior […]

.Net – Assemblies – How to Reference Assemblies?

We have created one simple private assembly hello.exe in our previous article. In this article, we will look at how to reference Assemblies into our programs and how to call methods in assemblies. Let’s create a simple program testapp.cs. Below is the code: // testapp.cs // using System; namespace CodeSteps { public class TestApp { […]

.Net – Assemblies – An Introduction

Assemblies are the self-describing building blocks of .Net-based applications. Assemblies contain Assembly manifest, which contains metadata information, contains a collection of data that describes the relationship between the elements in the assembly; Type metadata describing the exported types and methods; MSIL (Microsoft Intermediate Language) code that CLR (Common Language Runtime) executes; and a set of resources. All these parts […]

Scroll to top