AssemblyInfo patching with specified directory root fails

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. Will take a look.

    -Feodor

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

    **\Sources\**\AssemblyInfo.*
    
  3. 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. Agree, it should match against relative path for sure. Will add a bug.

  5. 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

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

Recent Discussions