BoolBySigma / UpdateAssemblyInfo

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

##[error]Current value for attribute 'AssemblyVersion' is not in a correct version format. #31

Open AppiePau opened 6 years ago

AppiePau commented 6 years ago

Hi,

Awesome extension, I like it for the clear configuration layout. For some reason I get the error shown below. I checked and made sure the all the AssemblyInfo files look like this:

[assembly: AssemblyVersion("0.0.0.0")]
[assembly: AssemblyFileVersion("0.0.0.0")]

I did not find any other lines that could interfere. Would it be possible to add the file path to faulty info file when this error occurs? I have no idea where to look.

==============================================================================
Task         : Update Assembly Info
Description  : Update assembly info of one or multiple projects
Version      : 2.0.38
Author       : Bool (by Sigma)
Help         : Having Problems? Please [create an issue on our Github](https://github.com/BoolBySigma/UpdateAssemblyInfo/issues) and we will try to help you.
==============================================================================

Parameter                                                           Value
---------                                                           -----
Add Missing Attriutes                                                True
Description                            Build: 20180529.15 - Commit: 29018
Configuration                                                VSTS Staging
Company                                                    MyCompany B.V.
Product                                                         MyProduct
Copyright                                      Copyright c MyCompany 2018
Trademark                                                   MyCompany B.V.
Culture                                                                  
Informational Version                                         3.16.0.7018
Com Visible                                                              
CLS Compliant                                                            
File Version                                                  3.16.0.7018
Assembly Version                                              3.16.0.7018
Updating...
##[error]Current value for attribute 'AssemblyVersion' is not in a correct version format.
##[section]Finishing: Update Assembly: **\*AssemblyInfo.cs