Is there a recommended approach to configuring a NuGet package targeting multiple frameworks in TeamCity using MSBuild?
问题 I've read a handful of posts (see references below) and have yet to find a guide on best practices that is specific to my tech stack. The goal: Create a single NuGet package targeting multiple .NET frameworks built from a single .csproj file via TeamCity using MSBuild and NuGet. The constraints: Pull the code from the VCS only once. All compiled assemblies should be versioned the same. Single .csproj (not one per target framework). I have two approaches in mind: Create a single build