You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you set a default value for the property GitIsDirty in GitInfo.targets?
All other properties have default values, e.g. master for the branch, 0.1.0 for default version.
My problem is: If I build my project in a non-git setting (e.g. an exported version), the generated ThisAssembly.g.cs says public const bool IsDirty = $GitIsDirty$;
and the build fails.
(Fot the time being, I set <GitIsDirty>1</GitIsDirty> in my project file. I'm not sure if this is the preferred solution).
The text was updated successfully, but these errors were encountered:
On Fri, Jan 20, 2017, 3:01 AM Andreas Duering ***@***.***> wrote:
Could you set a default value for the property GitIsDirty in
GitInfo.targets?
All other properties have default values, e.g. master for the branch,
0.1.0 for default version.
My problem is: If I build my project in a non-git setting (e.g. an
exported version), the generated ThisAssembly.g.cs says
public const bool IsDirty = $GitIsDirty$;
and the build fails.
(Fot the time being, I set <GitIsDirty>1</GitIsDirty> in my project file.
I'm not sure if this is the preferred solution).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#23>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKW64LVnv1hw4jp4ixgH-I6PAE13HwUks5rUGnYgaJpZM4LpCSs>
.
Could you set a default value for the property GitIsDirty in GitInfo.targets?
All other properties have default values, e.g. master for the branch, 0.1.0 for default version.
My problem is: If I build my project in a non-git setting (e.g. an exported version), the generated ThisAssembly.g.cs says
public const bool IsDirty = $GitIsDirty$;
and the build fails.
(Fot the time being, I set
<GitIsDirty>1</GitIsDirty>
in my project file. I'm not sure if this is the preferred solution).The text was updated successfully, but these errors were encountered: