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?
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
Support Staff 1 Posted by Feodor Fitsner on 02 Nov, 2014 08:46 PM
Will take a look.
-Feodor
Support Staff 2 Posted by Feodor Fitsner 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
.Support Staff 4 Posted by Feodor Fitsner 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.