tag:help.appveyor.com,2012-11-13:/discussions/questions/1275-build-failed-log4net-error-xmlhierarchyconfigurator-could-not-create-appender-rollingfileappenderAppVeyor: Discussion 2018-10-19T08:17:12Ztag:help.appveyor.com,2012-11-13:Comment/368375532015-05-15T01:23:27Z2015-05-15T01:23:27Z[Build failed] log4net : error XmlHierarchyConfigurator: Could not create Appender [RollingFileAppender]<div><p>That's strange - AppVeyor doesn't use log4net either. Maybe
there are some VS internals use it?...</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/368375532015-05-15T01:26:19Z2015-05-15T01:26:19Z[Build failed] log4net : error XmlHierarchyConfigurator: Could not create Appender [RollingFileAppender]<div><p>Try running build with a normal msbuild verbosity, not
minimal.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/368375532015-05-16T10:14:52Z2015-05-16T10:15:33Z[Build failed] log4net : error XmlHierarchyConfigurator: Could not create Appender [RollingFileAppender]<div><p>I changed verbosity to normal. I observe that, it is failing
during deployment. I have disabled deployment now, but still it is
trying to deploy. Can you please take a look and let me know what
is going on? Thanks.</p>
<p><a href="https://ci.appveyor.com/project/onlyutkarsh/vsostatusinspector">https://ci.appveyor.com/project/onlyutkarsh/vsostatusinspector</a></p></div>onlyutkarshtag:help.appveyor.com,2012-11-13:Comment/368375532015-05-16T18:39:47Z2015-05-16T18:39:47Z[Build failed] log4net : error XmlHierarchyConfigurator: Could not create Appender [RollingFileAppender]<div><p>OK, I found that this error comes from Amazon AWS SDK extension.
Removing the extension with the following command fixes the
build:</p>
<pre>
<code>rd "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Amazon Web Services LLC" /s /q</code>
</pre>
<p>My build results: <a href="https://ci.appveyor.com/project/FeodorFitsner/vsostatusinspector/build/1.0.3">
https://ci.appveyor.com/project/FeodorFitsner/vsostatusinspector/bu...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/368375532015-05-16T19:04:10Z2015-05-16T19:04:10Z[Build failed] log4net : error XmlHierarchyConfigurator: Could not create Appender [RollingFileAppender]<div><p>Thanks for the tip. 2 questions.</p>
<ol>
<li>Where should I add that command ? is it a post build
command?<br></li>
<li>Should't this be handled by AppVeyor build engine itself? I am
not using AWS SDK and adding that command to fix error at AppVeyor
does not seem right.</li>
</ol></div>onlyutkarshtag:help.appveyor.com,2012-11-13:Comment/368375532015-05-16T23:37:41Z2015-05-16T23:37:41Z[Build failed] log4net : error XmlHierarchyConfigurator: Could not create Appender [RollingFileAppender]<div><p>Put it after "nuget restore".</p>
<p>Think of it as a temporary workaround ;) until we figure out how
to fix that.</p>
<ul>
<li>Feodor</li>
</ul></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/368375532015-07-06T16:20:32Z2015-07-06T16:20:33Z[Build failed] log4net : error XmlHierarchyConfigurator: Could not create Appender [RollingFileAppender]<div><p>solve my problem as well<br>
<a href="https://ci.appveyor.com/project/ghstahl/pingoconsole">https://ci.appveyor.com/project/ghstahl/pingoconsole</a></p>
<p>I can only compare this to another project I have that doesn't
have this issue.<br>
The only difference in this project is that I am building a VSIX
and would bomb out after this line.</p>
<p>
C:\projects\pingoconsole\Pingo.CommandLine.PluginTemplate\bin\Debug\Pingo.CommandLine.PluginTemplate.vsix<br>
Setting up Visual Studio for debugging extensions. This one-time
operation may take a minute or more.</p>
<p>You can look at a previous build failure to see the
differences.</p></div>ghstahl