[C#] Patching assembly version doesn't work if there's spaces around version parameter

micdenny's Avatar

micdenny

30 Jun, 2015 06:15 PM

If you have this declaration in AssemblyInfo.cs, appveyor will not patch the version:

[assembly: AssemblyVersion( "1.0.0.0" )]

instead this will work just fine as excepted:

[assembly: AssemblyVersion("1.0.0.0")]

notice the spaces around version parameter, this format in c# is correct and compile.

  1. Support Staff 1 Posted by Feodor Fitsner on 30 Jun, 2015 07:13 PM

    Feodor Fitsner's Avatar
  2. 2 Posted by micdenny on 30 Jun, 2015 07:58 PM

    micdenny's Avatar

    Thank you Feodor!

    Il martedì 30 giugno 2015, Feodor Fitsner <[email blocked]>
    ha scritto:

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac