Skip to content

Commit aef1316

Browse files
committed
config updates, new desharp release
1 parent 0583506 commit aef1316

File tree

4 files changed

+28
-23
lines changed

4 files changed

+28
-23
lines changed

Desharp.config.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
- If you want to enable any logging level - put the level name into node `value` attribute (comma separated).
5353
- If you want to disable any logging level - put minus (-) character before level name or remove level name.
5454
- If you want to enable any logging level for email notifications - put plus (+) character before level name.
55+
For any notification type with plus sign, it required to configure `Desharp:NotifySettings` property!
5556
-->
5657
<add key="Desharp:Levels" value="+exception,debug,info,-notice,-warning,+error,+critical,alert,+emergency,javascript" />
5758

ExampleConsoleCs.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
<Prefer32Bit>false</Prefer32Bit>
6464
</PropertyGroup>
6565
<ItemGroup>
66-
<Reference Include="Desharp, Version=1.3.0.0, Culture=neutral, PublicKeyToken=cd60d985c52bcd6f, processorArchitecture=MSIL">
67-
<HintPath>packages\Desharp.1.3.0\lib\net40\Desharp.dll</HintPath>
66+
<Reference Include="Desharp, Version=1.3.0.1, Culture=neutral, PublicKeyToken=cd60d985c52bcd6f, processorArchitecture=MSIL">
67+
<HintPath>packages\Desharp.1.3.0.1\lib\net40\Desharp.dll</HintPath>
6868
<Private>True</Private>
6969
</Reference>
7070
<Reference Include="Desharp.Tests, Version=1.3.0.1, Culture=neutral, processorArchitecture=MSIL">
@@ -93,7 +93,7 @@
9393
<Compile Include="Properties\AssemblyInfo.cs" />
9494
</ItemGroup>
9595
<ItemGroup>
96-
<None Include="app.config" />
96+
<None Include="App.config" />
9797
<None Include="Desharp.config.example" />
9898
<None Include="packages.config">
9999
<SubType>Designer</SubType>

app.config

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,34 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<appSettings>
4-
<add key="Desharp:Enabled" value="1"/>
5-
<add key="Desharp:Output" value="html"/>
6-
<add key="Desharp:Levels" value="+exception,debug,info,-notice,-warning,+error,+critical,alert,+emergency,javascript"/>
7-
<add key="Desharp:Directory" value="~/logs"/>
8-
<add key="ClientSettingsProvider.ServiceUri" value=""/>
9-
<add key="aspnet:RoslynCompilerLocation" value="roslyn"/>
4+
5+
<add key="Desharp:Enabled" value="1" />
6+
<add key="Desharp:Output" value="html" />
7+
<add key="Desharp:Levels" value="exception,debug,info,-notice,-warning,error,critical,alert,emergency" />
8+
<add key="Desharp:Directory" value="~/Logs" />
9+
10+
<add key="ClientSettingsProvider.ServiceUri" value="" />
11+
<add key="aspnet:RoslynCompilerLocation" value="roslyn" />
12+
1013
</appSettings>
1114
<startup>
12-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
15+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
1316
</startup>
17+
1418
<system.codedom>
1519
<compilers>
16-
<compiler
17-
language="c#;cs;csharp"
18-
extension=".cs"
19-
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
20-
warningLevel="4"
21-
compilerOptions="/langversion:6 /nowarn:1659;1699;1701"/>
22-
<compiler
23-
language="vb;vbs;visualbasic;vbscript"
24-
extension=".vb"
25-
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
26-
warningLevel="4"
27-
compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
20+
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
21+
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+" />
2822
</compilers>
2923
</system.codedom>
24+
25+
<runtime>
26+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
27+
<dependentAssembly>
28+
<assemblyIdentity name="Desharp" publicKeyToken="cd60d985c52bcd6f" culture="neutral" />
29+
<bindingRedirect oldVersion="0.0.0.0-1.3.0.1" newVersion="1.3.0.1" />
30+
</dependentAssembly>
31+
</assemblyBinding>
32+
</runtime>
33+
3034
</configuration>

packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Desharp" version="1.3.0" targetFramework="net40" />
3+
<package id="Desharp" version="1.3.0.1" targetFramework="net45" />
44
<package id="Desharp.Tests" version="1.3.0.1" targetFramework="net45" />
55
<package id="Microsoft.CodeAnalysis" version="3.3.1" targetFramework="net45" />
66
<package id="Microsoft.CodeDom.Providers.DotNetCompilerPlatform" version="2.0.1" targetFramework="net45" />

0 commit comments

Comments
 (0)