Closed jeffkl closed 2 years ago
One other thought: is there a simple code snippet or two that can be in the class files that can demonstrate breaks across versions?
I.e., if we turn Transitive off, then X will fail to compile because of an API in the version (could be new API available that's not in the version when the flag is turned off). Same Q for CPM all-up; is there something that can work or fail based on the setting?
Also, I think it'd be useful to add any/all available/relevant config properties to the props/targets and add a doc comment as to what they do and what the default value is? I think that'll help people see the possibilities, and also what they can safely omit.
One other thought: is there a simple code snippet or two that can be in the class files that can demonstrate breaks across versions?
I'd have to really dig into some class libraries to find a breaking change and unfortunately I don't have time at the moment. We can improve this sample over time as we get feedback on it.
@clairernovotny can I merge this for now and make improvements as feedback comes in?
Branch: https://github.com/NuGet/Samples/tree/dev-jeffkl-cpm-sample/CentralPackageManagementExample