Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TagPrefix cleanup #510

Merged
merged 3 commits into from
Jul 18, 2015
Merged

Conversation

Tungsten78
Copy link

Cleaning up a few leftovers that resulted from a partial merge of pull request #496. As before, TagPrefix is always considered optional.

…at resulted from a partial merge of pull request. More specifically TagPrefix is always considered optional.
@Tungsten78 Tungsten78 changed the title Tagprefix cleanup TagPrefix cleanup Jul 16, 2015
@JakeGinnivan
Copy link
Contributor

@SimonCropp this PR seems to be causing a PEVerify error. https://ci.appveyor.com/project/GitTools/gitversion/build/0.0.60#L204

Any ideas? Wondering if it's the const?

@Tungsten78
Copy link
Author

I'm seeing the error on my side with a solution rebuild. If I remove the const it does indeed go away.

There's a bit more info in the error:

1>MSBUILD : error : [IL]: Error: [C:\Projects\GitVersion\GitVersion\GitVersionCore\bin\Release\GitVersionCore.dll : GitVersion.Config::DebuggerDisplay][offset 0x00000026] Unable to resolve token.(Error: 0x80131869)

@JakeGinnivan Would you rather me just rid the const and hardcode the "[vV]" as it was?

…ternal to circumvent a PE Validation error: GitVersion.Config::DebuggerDisplay][offset 0x00000026] Unable to resolve token.(Error: 0x80131869) occurs due to "public const".
@Tungsten78
Copy link
Author

I updated the branch to use an internal const instead. This gets us past the validation error and is still accessible to the test library because of the existing [assembly:InternalsVisibleTo("GitVersionCore.Tests")]

JakeGinnivan added a commit that referenced this pull request Jul 18, 2015
@JakeGinnivan JakeGinnivan merged commit 6430e67 into GitTools:master Jul 18, 2015
@Tungsten78 Tungsten78 deleted the AddressTagParsingCleanup branch December 4, 2015 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants