diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-04-06 21:00:31 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-04-09 07:01:13 -0700 |
commit | 266e65da43dc5d3b785af7d22ac0dc11274550c2 (patch) | |
tree | 82b5d7544bae4c80efb454c096642b9080b128ec | |
parent | e787439364d77416160aa26c1a5d3d9db560c972 (diff) | |
download | DotNetOpenAuth-266e65da43dc5d3b785af7d22ac0dc11274550c2.zip DotNetOpenAuth-266e65da43dc5d3b785af7d22ac0dc11274550c2.tar.gz DotNetOpenAuth-266e65da43dc5d3b785af7d22ac0dc11274550c2.tar.bz2 |
Enabled log4net logging in OAuth Consumer WPF sample.
-rw-r--r-- | samples/OAuthConsumerWpf/OAuthConsumerWpf.csproj | 4 | ||||
-rw-r--r-- | samples/OAuthConsumerWpf/Properties/AssemblyInfo.cs | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/samples/OAuthConsumerWpf/OAuthConsumerWpf.csproj b/samples/OAuthConsumerWpf/OAuthConsumerWpf.csproj index cd693e5..72159c9 100644 --- a/samples/OAuthConsumerWpf/OAuthConsumerWpf.csproj +++ b/samples/OAuthConsumerWpf/OAuthConsumerWpf.csproj @@ -43,6 +43,10 @@ <ErrorReport>prompt</ErrorReport> </PropertyGroup> <ItemGroup> + <Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL"> + <SpecificVersion>False</SpecificVersion> + <HintPath>..\..\lib\log4net.dll</HintPath> + </Reference> <Reference Include="Microsoft.Contracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=736440c9b414ea16, processorArchitecture=MSIL" /> <Reference Include="System" /> <Reference Include="System.Core"> diff --git a/samples/OAuthConsumerWpf/Properties/AssemblyInfo.cs b/samples/OAuthConsumerWpf/Properties/AssemblyInfo.cs index 029ad14..8d23055 100644 --- a/samples/OAuthConsumerWpf/Properties/AssemblyInfo.cs +++ b/samples/OAuthConsumerWpf/Properties/AssemblyInfo.cs @@ -16,6 +16,8 @@ using System.Windows; [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +[assembly: log4net.Config.XmlConfigurator(Watch = true)] + // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. |