Use various nuGet packages.config based on build configuration

Suppose we want two configurations.

The BuildForCustomerA configuration is a solution with reference to MySharedLibrary v1.1.

Configuration B is a solution with reference to MySharedLibrary v1.3.

Is there a way for Configuration A to point to "packages.ConfigA.config" and "Configuration B" to "packages.ConfigB.config" (or any functionally similar setting) so that they can bind different internal and third links to the batch correctly? using nuget recovery and package?

Thanks for reading

+4
source share

Source: https://habr.com/ru/post/1528854/


All Articles