-
Notifications
You must be signed in to change notification settings - Fork 652
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
When version attributes missing when using exe? #529
Comments
I'm 👍 for the first option.
|
I think throwing an exception with detailed description and friendly guidance on how to fix it is the best way to go. Just throw in as much information about why it occurred and how it can be remedied and it will yield a good development experience. 😄 |
I believe this was fixed in #1249. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Update:
We have decided on option 1, when the version attributes cannot be found to update in GitVersion.exe, we should raise an error.
Original:
The Task requires version attributes to not be present (because they are inserted into the MSBuild pipeline) and the exe is updating assembly info files so the attributes are required to be there.
This can cause issues migrating between the two (especially from task to exe). I see two ways to resolve this:
I think 1 is the way to go, but want feedback.
// @gep13 @asbjornu @distantcam
The text was updated successfully, but these errors were encountered: