BoolBySigma / UpdateAssemblyInfo

SORRY THIS IS NO LONGER MAINTAINED
10 stars 9 forks source link

[TFS2017 | On Premises] Current value for attribute 'AssemblyVersion' is not in a correct version format #18

Closed gandarez closed 7 years ago

gandarez commented 7 years ago

I left Revision field blank and got an error. It's adding a variable $(current) at the end of version ifno. See the logs below

image

image

gandarez commented 7 years ago

Even if I set the revision field it brakes

image

gandarez commented 7 years ago

The problem is on file AssemblyInforUpdate.cs on line 21.

You're considering that all assemblies have the mask "0.0.0.0" although mine is "0.0.0" and the regex "\d+\.\d+\.\d+\.\d+" won't work at this moment. I'll try to figure out how to fiz it.

ghost commented 7 years ago

Published version 2.0.38 with this fix.

Try it out and let me know how it works for you.

gandarez commented 7 years ago

It has been resolved 👍