mirror of
https://github.com/cyanfish/naps2.git
synced 2024-09-11 15:26:55 +03:00
Added dependency to NLog.
This commit is contained in:
parent
d844cf6ea7
commit
0214e004ed
@ -1,4 +1,5 @@
|
||||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateConstants/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="AA_BB" /></s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/PredefinedNamingRules/=PrivateInstanceFields/@EntryIndexedValue"><Policy Inspect="True" Prefix="" Suffix="" Style="aaBb" /></s:String>
|
||||
<s:String x:Key="/Default/FilterSettingsManager/CoverageFilterXml/@EntryValue"><data><IncludeFilters /><ExcludeFilters /></data></s:String>
|
||||
<s:String x:Key="/Default/FilterSettingsManager/AttributeFilterXml/@EntryValue"><data /></s:String></wpf:ResourceDictionary>
|
@ -29,6 +29,7 @@ using NAPS2.Scan.Twain;
|
||||
using NAPS2.Scan.Wia;
|
||||
using Ninject;
|
||||
using Ninject.Modules;
|
||||
using NLog;
|
||||
|
||||
namespace NAPS2
|
||||
{
|
||||
@ -49,6 +50,7 @@ namespace NAPS2
|
||||
Bind<IProfileManager>().To<ProfileManager>().InSingletonScope();
|
||||
Bind<IPdfExporter>().To<PdfSharpExporter>();
|
||||
Bind<IEmailer>().To<MAPIEmailer>();
|
||||
Bind<Logger>().ToConstant(LogManager.GetLogger("NAPS2"));
|
||||
#if DEBUG && false
|
||||
Bind<IScanDriver>().To<StubWiaScanDriver>().Named(WiaScanDriver.DRIVER_NAME);
|
||||
Bind<IScanDriver>().To<StubTwainScanDriver>().Named(TwainScanDriver.DRIVER_NAME);
|
||||
|
@ -86,6 +86,9 @@
|
||||
<Reference Include="Ninject">
|
||||
<HintPath>..\packages\Ninject.3.0.1.10\lib\net35\Ninject.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NLog">
|
||||
<HintPath>..\packages\NLog.2.0.1.2\lib\net40\NLog.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="PdfSharp, Version=0.9.653.0, Culture=neutral, PublicKeyToken=f94615aa0424f9eb, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>Setup\lib\PdfSharp.dll</HintPath>
|
||||
@ -113,6 +116,7 @@
|
||||
<Compile Include="Paths.cs" />
|
||||
<Compile Include="ScannedImageList.cs" />
|
||||
<Compile Include="ScanPerformer.cs" />
|
||||
<Compile Include="Scan\Exceptions\ScanDriverUnknownException.cs" />
|
||||
<Compile Include="Scan\Stub\StubScanDriver.cs" />
|
||||
<Compile Include="Scan\Twain\DibUtils.cs" />
|
||||
<Compile Include="Scan\Twain\TwainApi.cs" />
|
||||
|
@ -2,4 +2,5 @@
|
||||
<packages>
|
||||
<package id="Ninject" version="3.0.1.10" targetFramework="net35-Client" />
|
||||
<package id="Ninject.MockingKernel" version="3.0.0.5" targetFramework="net35-Client" />
|
||||
<package id="NLog" version="2.0.1.2" targetFramework="net40-Client" />
|
||||
</packages>
|
Loading…
Reference in New Issue
Block a user