AssemblyInfo patching with specified directory root fails

lair's Avatar


02 Nov, 2014 11:01 AM

I am trying to limit AssemblyInfo patching to projects residing in one directory (Sources). I've tried setting patching path to Sources\**\AssemblyInfo.* (in UI), but it doesn't work (file stays unpatched). When I use **\AssemblyInfo.*, it works. What am I doing wrong?

PS Is there any way to get more detailed assembly patching log during build?

  1. Support Staff 1 Posted by Feodor Fitsner on 02 Nov, 2014 08:46 PM

    Feodor Fitsner's Avatar

    Will take a look.


  2. Support Staff 2 Posted by Feodor Fitsner on 03 Nov, 2014 05:33 PM

    Feodor Fitsner's Avatar

    It matches against full path, so the following should work:

  3. 3 Posted by lair on 04 Nov, 2014 03:41 PM

    lair's Avatar

    Yes, I can confirm that it works.

    Still, I think that it is counter-intuitive, and the path should be relative to APPVEYOR_BUILD_FOLDER (and anyone wishing so could use \ in front to force full path).

    Also it doesn't work with {APPVEYOR_BUILD_FOLDER}\Sources\**\AssemblyInfo.* - what's wrong there?

    And I still think it'd be very helpful to have some info in addition to Patching AssemblyInfo...Done, something like: Patched file: <full file path> and warning: No files to patch found.

  4. Support Staff 4 Posted by Feodor Fitsner on 04 Nov, 2014 05:17 PM

    Feodor Fitsner's Avatar

    Agree, it should match against relative path for sure. Will add a bug.

  5. 5 Posted by lair on 04 Nov, 2014 05:36 PM

    lair's Avatar

    Okay, subscribed to issue on GitHub, will close the discussion as soon as the solution is verified. Thank you!

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 AM.

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

Keyboard shortcuts


? 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