csproj patching instead of asemblyinfo.cs

Jochen Kühner's Avatar

Jochen Kühner

21 May, 2017 07:19 AM

I would suggest to add a new build step, to modify the csproj files for netcore projects. Because now you can include the AssemblyVersion, AssemblyFileVersion and the Nuget Package Version in the csproj file!

  1. Support Staff 1 Posted by Ilya Finkelshte... on 21 May, 2017 08:13 AM

    Ilya Finkelshteyn's Avatar

    Thank you for suggestion! You a right we have to do this, though not instead but in addition. Adding this to https://github.com/appveyor/ci/issues/1404

  2. 2 Posted by Alistair Young on 24 Jul, 2017 08:46 PM

    Alistair Young's Avatar

    This is something I'd also like to suggest, although in my case for .NET Standard projects rather than/as well as .NET Core ones. (Although I believe the mechanism is the same in any case.)

  3. Support Staff 3 Posted by Ilya Finkelshte... on 24 Jul, 2017 09:09 PM

    Ilya Finkelshteyn's Avatar

    This is already implemented, but not deployed at the moment. Should be in the nearest update. Along with .NET Core automatic nuget packaging. Will look like this:

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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