Multi-framework NuGet build with symbols for internal dependency management

后端 未结 3 1059
执笔经年
执笔经年 2021-01-31 10:47

Maybe I\'m pushing the envelope here, but I\'m desperate to leverage NuGet to ease the DLL Hell that I\'ve found myself in.

We have 4 main products that all live in inte

3条回答
  •  你的背包
    2021-01-31 11:14

    Check out the new features in NuGet 2.5 related to framework version dependant references: http://docs.nuget.org/docs/release-notes/nuget-2.5

    It might be an option for you to use build configurations with conditional references elements in the csproj files (conditinal on the TargetFrameworkVersion), then run your build in all configurations, and produce output for net35 and net40 with optional targeting of references in your nupkg.

提交回复
热议问题