I have ProjectA(WPFApplication) that references ProjectB(ClassLibrary). Inside ProjectB i have wpf window that uses contro
Add something like this to ProjectB.csproj:
ThirdParty.dll
PreserveNewest
This convinces VS to copy ThirdParty.dll to the output folder of ProjectA, too
(no need to add anything to ProjectA about ThirdParty.dll).
I still find it inadequate because if ThirdParty.dll is in a NuGet package, its path usually contains version number, which will change when you update the package.
I haven't tried it yet but I don't expect from NuGet to update the path here as it does in .