Skip to content

Commit 2905dd3

Browse files
committed
new desharp release, config update
1 parent d000e37 commit 2905dd3

File tree

4 files changed

+18
-22
lines changed

4 files changed

+18
-22
lines changed

App.config

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,25 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
3+
34
<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"/>
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" />
1012
</appSettings>
13+
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+
3025
</configuration>

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

ExampleConsoleVb.vbproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
<OptionInfer>On</OptionInfer>
5454
</PropertyGroup>
5555
<ItemGroup>
56-
<Reference Include="Desharp, Version=1.3.0.0, Culture=neutral, PublicKeyToken=cd60d985c52bcd6f, processorArchitecture=MSIL">
57-
<HintPath>packages\Desharp.1.3.0\lib\net40\Desharp.dll</HintPath>
56+
<Reference Include="Desharp, Version=1.3.0.1, Culture=neutral, PublicKeyToken=cd60d985c52bcd6f, processorArchitecture=MSIL">
57+
<HintPath>packages\Desharp.1.3.0.1\lib\net40\Desharp.dll</HintPath>
5858
<Private>True</Private>
5959
</Reference>
6060
<Reference Include="Desharp.Tests, Version=1.3.0.1, Culture=neutral, processorArchitecture=MSIL">

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)