tag:help.appveyor.com,2012-11-13:/discussions/problems/983-assemblyinfo-patching-with-specified-directory-root-failsAppVeyor: Discussion 2018-10-19T08:16:49Ztag:help.appveyor.com,2012-11-13:Comment/351508772014-11-02T20:46:31Z2014-11-02T20:46:31ZAssemblyInfo patching with specified directory root fails<div><p>Will take a look.</p>
<p>-Feodor</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/351508772014-11-03T17:33:33Z2014-11-03T17:33:33ZAssemblyInfo patching with specified directory root fails<div><p>It matches against full path, so the following should work:</p>
<pre>
<code>**\Sources\**\AssemblyInfo.*</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/351508772014-11-04T15:41:41Z2014-11-04T15:41:41ZAssemblyInfo patching with specified directory root fails<div><p>Yes, I can confirm that it works.</p>
<p>Still, I think that it is counter-intuitive, and the path should
be relative to APPVEYOR_BUILD_FOLDER (and anyone wishing so could
use <code>\</code> in front to force full path).</p>
<p>Also it <em>doesn't</em> work with
<code>{APPVEYOR_BUILD_FOLDER}\Sources\**\AssemblyInfo.*</code> -
what's wrong there?</p>
<p>And I still think it'd be very helpful to have some info in
addition to <code>Patching AssemblyInfo...Done</code>, something
like: <code>Patched file: <full file path></code> and
warning: <code>No files to patch found</code>.</p></div>lairtag:help.appveyor.com,2012-11-13:Comment/351508772014-11-04T17:17:37Z2014-11-04T17:17:37ZAssemblyInfo patching with specified directory root fails<div><p>Agree, it should match against relative path for sure. Will add
a bug.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/351508772014-11-04T17:36:09Z2014-11-04T17:36:09ZAssemblyInfo patching with specified directory root fails<div><p>Okay, subscribed to issue on GitHub, will close the discussion
as soon as the solution is verified. Thank you!</p></div>lair