What's the best way to target multiple versions of the .NET framework?

后端 未结 3 1032
谎友^
谎友^ 2021-01-30 16:24

I\'m building a class library and I will deploy it a NuGet package, which lets me choose different assemblies to be added as references based on the .NET framework version of th

3条回答
  •  你的背包
    2021-01-30 17:02

    Old question I know, and this wasn't a suitable answer at the time... but now it is possible to use a Shared Project, which is logically the same as adding a project as link rather than each file individually.

提交回复
热议问题