Emit warning instead of an error in package compat (#72518)
authorViktor Hofer <viktor.hofer@microsoft.com>
Tue, 26 Jul 2022 13:35:36 +0000 (15:35 +0200)
committerGitHub <noreply@github.com>
Tue, 26 Jul 2022 13:35:36 +0000 (15:35 +0200)
commit336317af23818c808efd80211526e8d8c49a8362
tree14eb9b98d7bb67d1e04a17cdc3e622e39d156264
parent73374e8ee580b86204a8aafa95e4b04e948baa24
Emit warning instead of an error in package compat (#72518)

Based on the discussed in https://github.com/open-telemetry/opentelemetry-dotnet/issues/3448, we are now emitting a warning instead of an error on unsupported target frameworks. We still explicitly indicate that this is an unsupported scenario but don't actively block consumers anymore and also indicate how to suppress the warning.
eng/packaging.targets