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

CS7035 warning when versioning with asterisk (*) wildcard #33610

Open
homer90 opened this issue Feb 22, 2019 · 1 comment
Open

CS7035 warning when versioning with asterisk (*) wildcard #33610

homer90 opened this issue Feb 22, 2019 · 1 comment

Comments

@homer90
Copy link

homer90 commented Feb 22, 2019

Steps to Reproduce:
project .csproj with following PropertyGroup items:

  <PropertyGroup>
    <Deterministic>false</Deterministic>
    <AssemblyVersion>1.2.*</AssemblyVersion>
  </PropertyGroup>

Expected Behavior:
No warnings get thrown because of this wildcard as documented on https://docs.microsoft.com/en-us/dotnet/api/system.reflection.assemblyversionattribute:

A version number such as [assembly:AssemblyVersion("1.2.*")] specifies 1 as the major version, 2 as the minor version, and accepts the default build and revision numbers.

Actual Behavior:
Warning [CS7035]: The specified version string does not conform to the recommended format - major.minor.build.revision gets thrown.

@gafter gafter added this to the Backlog milestone Jul 16, 2019
@gafter gafter added the Bug label Jul 16, 2019
@michaelbunney
Copy link

Would love to see this fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants