[英]Build NuGet package for multiple framework targets from Visual Studio 2010 project file
Internally within my organisation we maintain a code library, some of our applications are built on .NET 4 while older applications are still built on .NET 3.5. 在我的组织内部,我们维护着一个代码库,我们的一些应用程序是基于.NET 4构建的,而较旧的应用程序仍然构建在.NET 3.5上。
We have build configurations that target either the .NET 4 or .NET 3.5 framework and this works as expected. 我们构建了针对.NET 4或.NET 3.5框架的配置,这可以按预期工作。 We hit a problem when we want to build NuGet packages that include the output from each build configuration into a single nupkg file (since a NuGet package can support multiple framework targets). 当我们想要将包含每个构建配置的输出的NuGet包构建到单个nupkg文件中时,我们遇到了一个问题(因为NuGet包可以支持多个框架目标)。
Has anybody come up with a solution to automate this scenario? 有没有人想出一个自动化这种情况的解决方案?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.