ThisAssembly.Git.IsDirty
is included when GitThisAssembly
is false
#337
Labels
ThisAssembly.Git.IsDirty
is included when GitThisAssembly
is false
#337
Describe the Bug
If I disable
GitThisAssembly
and build withGitInfo
then it still includes theThisAssembly
class, albeit with just theGit
class and itsIsDirty
constant.Steps to Reproduce
Create a new library, add the
GitInfo
package reference and disableGitThisAssembly
:Build the project and look at the assembly with JetBrains dotPeek:
Expected Behavior
The
ThisAssembly
class should be completely excluded from the assembly output.Additional Info
The class seems to be coming from https://github.com/devlooped/GitInfo/blob/main/src/Analyzer/GitInfoGenerator.cs.
The text was updated successfully, but these errors were encountered: