Publishing/Building project with dependencies based on target .NET version

I have a project that requires an external library file, which I have different versions of, for different .NET versions. How can I tell Visual Studio to build my project with the right file?
2 Replies
The Fog from Human Resources
You have a few Export options using visual studio under the publish window
Lex Li
Lex Li9mo ago
Try to pack the external things up as a multi-targeting NuGet package, so that your project just need to consume it properly. The default tool chain works very well in that case.
Want results from more Discord servers?
Add your server