Consider to make JetBrains.Annotations dependency private.
GreenKn1ght opened this issue · 2 comments
As decribed here, no actual binary reference to 'JetBrains.Annotations.dll' assembly is produced when using JetBrains.Annotations nuget package without JETBRAINS_ANNOTATIONS compilation symbol defined. This mean there is no actual dependency.
This also means that any library that is already doing this will suddenly get hundreds of warnings about duplicated types.
EDIT For reference, see the Including the Source section of this blog post
As GitVersion stopped using GitTools.Core in GitTools/GitVersion#1581, this issue is unfortunately not relevant anymore and the whole repository will be archived. Please try the latest build of GitVersion and see if it solves whatever problem you had when you submitted this issue. If the problem persists, please submit a new issue or PR against the GitVersion repository.