- Oct 5, 2021
- Programming Experience
Im new to Csharp, and I read that with public classes, you can use methods of that class in another assembly. Im using Visual Studio 2019. I added a strong name key in properties in two assemblies, and I wrote gacutil.exe -i ConsoleApp1.dll (and ConsoleApp2.dll) in Visual Studio Commando Prompt, then I quit the Command Prompt - to add 2 assemblies to Global assembly cache. When I tried to make an instance of a class that is written in ConsoleApp1 in another assembly - in ConsoleApp2, it couldnt find that class.