How to Include a Library twice by two Plugins or by Plugin and Project?

Hi,
I’m trying to use a .dll by a PlugIn and the Project at the same time. It`s working if i use it either in the PlugIn or the Project, but i want the PlugIn and the Project to be standalone.
When packaging the Project using RuntimeDependencies.Add(…) in the PlugIn and the Project, I get the Build Error:

Runtime dependency ‘TargetPath’ is configured to be staged from ‘SourcePath-Project’ and ‘SourcePath-PlugIn

Is there any possibility to check if the dependency is already added? Something like RuntimeDependencies.Contains() i did not get to work.

Thanks,
Emanuel

I also have the same problem