<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>halflife</author_name>
  <author_url>https://blog.hatena.ne.jp/halflife/</author_url>
  <blog_title>Halflife</blog_title>
  <blog_url>https://halflife.hatenadiary.org/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>log4net</anon>
  </categories>
  <description>常識なのか知らないけど、log4netでログを吐くアセンブリAを、NUnitテスト用アセンブリBから参照して使うような場合の注意。B.config に log4net の設定を行うだけでは、その内容を読んでくれないらしく、ログが出力されない。期待通りログが吐かれるようにするには、Bに [SetUpFixture] public class SetupClass { [SetUp] public void RunBeforeAnyTests() { log4net.Config.XmlConfigurator.Configure(); } } のようなものを追加して、テスト前に明示的に B.co…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhalflife.hatenadiary.org%2Fentry%2F20081210%2F1228932506&quot; title=&quot; NUnitからlog4netを使うライブラリを使う場合 - Halflife&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-12-10 03:08:26</published>
  <title> NUnitからlog4netを使うライブラリを使う場合</title>
  <type>rich</type>
  <url>https://halflife.hatenadiary.org/entry/20081210/1228932506</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
