natemcmaster / DotNetCorePlugins

.NET Core library for dynamically loading code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.Net Core 3.1 Cannot load assembly, "An item with the same key has already been added"

Grendizr opened this issue · comments

Hi.

I am experiencing same issue as 171. Trying to use the PluginLoader on Net Core 3.1 project and this is failing with message "An item with the same key has already been added" while trying to load an assembly for the first time.

To Reproduce
I have created a small poc that you can maybe try to get and use to reproduce the issue.

Thanks in advance for your fast feedback

Regards
Seb

note : I am opening this new thread, as I am not sure people will notice replies on the closed one.

Using this thread I was able to fix the problem. Indeed the publish used in a Build Post Event was using different case for the output folder, thus had an impact on the load of the Assembly (as explained on the provided link).

Thank you very much @vitek-karas :)

Closing this bug ...