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 Posted by Feodor Fitsner Support staff on 02 Nov, 2014 08:46 PM
Will take a look.
-Feodor
#2 Posted by Feodor Fitsner Support staff on 03 Nov, 2014 05:33 PM
It matches against full path, so the following should work:
#3 Posted by lair on 04 Nov, 2014 03:41 PM
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 Posted by Feodor Fitsner Support staff on 04 Nov, 2014 05:17 PM
Agree, it should match against relative path for sure. Will add a bug.
#5 Posted by lair on 04 Nov, 2014 05:36 PM
Okay, subscribed to issue on GitHub, will close the discussion as soon as the solution is verified. Thank you!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 AM.