Skip to content

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

@AppiePau

Description

@AppiePau

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions