cosj
❔ Program fails with reference when private=False but works when private=True
ok, looks like adding an AssemblyResolver only works when you don't have a using to the non-private assembly in the .cs file where the AssemblyResolver is.
I moved the OtherMethods() to a separate file and now it is working as expected.
Thanks for pointing me in the right direction!
24 replies
❔ Program fails with reference when private=False but works when private=True
That would explain why it builds.
I tried using "AppDomain.CurrentDomain.AssemblyResolve += OnResolve; " and loading it like that but my code crashes before it even gets to main.
I'll have a look at the GAC. Thanks!
24 replies