I have this code to register dlls into my gac
Assembly asm = Assembly.LoadFrom(argument);
RegistrationServices regAsm = new RegistrationServices();
bool bResult = regAsm.RegisterAssembly(asm, AssemblyRegistrationFlags.SetCodeBase);
and that works fine, i’m getting true to bResult, but when i open the GAC window i expected to see the dll there, but it is not. Can anyone explain me why?
When i drop the dll into the GAC window i see it there.
Your code doesn’t register the assembly in GAC, but, as explained here,
which is not the same.