File tree Expand file tree Collapse file tree 4 files changed +21
-24
lines changed
samples/Exceptionless.SampleWebApi
Newtonsoft.Json/Serialization
Platforms/Exceptionless.AspNetCore Expand file tree Collapse file tree 4 files changed +21
-24
lines changed Original file line number Diff line number Diff line change 9
9
</settings >
10
10
</exceptionless >
11
11
<startup >
12
- <supportedRuntime version =" v4.0" sku =" .NETFramework,Version=v4.5 .2" />
12
+ <supportedRuntime version =" v4.0" sku =" .NETFramework,Version=v4.6 .2" />
13
13
</startup >
14
- <runtime >
15
- <assemblyBinding xmlns =" urn:schemas-microsoft-com:asm.v1" >
16
- <dependentAssembly >
17
- <assemblyIdentity name =" Microsoft.Owin" publicKeyToken =" 31bf3856ad364e35" culture =" neutral" />
18
- <bindingRedirect oldVersion =" 0.0.0.0-3.0.1.0" newVersion =" 3.0.1.0" />
19
- </dependentAssembly >
20
- <dependentAssembly >
21
- <assemblyIdentity name =" System.Web.Http" publicKeyToken =" 31bf3856ad364e35" culture =" neutral" />
22
- <bindingRedirect oldVersion =" 0.0.0.0-5.2.3.0" newVersion =" 5.2.3.0" />
23
- </dependentAssembly >
24
- <dependentAssembly >
25
- <assemblyIdentity name =" System.Net.Http.Formatting" publicKeyToken =" 31bf3856ad364e35" culture =" neutral" />
26
- <bindingRedirect oldVersion =" 0.0.0.0-5.2.3.0" newVersion =" 5.2.3.0" />
27
- </dependentAssembly >
28
- <dependentAssembly >
29
- <assemblyIdentity name =" Newtonsoft.Json" publicKeyToken =" 30ad4fe6b2a6aeed" culture =" neutral" />
30
- <bindingRedirect oldVersion =" 0.0.0.0-9.0.0.0" newVersion =" 9.0.0.0" />
31
- </dependentAssembly >
32
- </assemblyBinding >
33
- </runtime >
34
14
</configuration >
Original file line number Diff line number Diff line change 7
7
<AssemblyTitle >Exceptionless client for non visual (ie. Console and Services) applications.</AssemblyTitle >
8
8
<Description >Exceptionless client for portable applications. $(Description)</Description >
9
9
<PackageTags >Exceptionless;Error;Report;Reporting;Exception;Logging;Log;ELMAH;pcl;NETSTANDARD;Core</PackageTags >
10
- <TargetFrameworks >netstandard1.2;netstandard1.3;netstandard1.4;netstandard1.5;portable46-net451+win81+wpa81;net45</TargetFrameworks >
10
+ <TargetFrameworks >netstandard1.2;netstandard1.3;netstandard1.4;netstandard1.5;netstandard2.0; portable46-net451+win81+wpa81;net45</TargetFrameworks >
11
11
</PropertyGroup >
12
12
13
13
<ItemGroup Label =" Package" >
109
109
<PackageReference Include =" System.Xml.XmlSerializer" Version =" 4.3.0" />
110
110
</ItemGroup >
111
111
112
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'netstandard2.0'" Label =" Build" >
113
+ <DefineConstants >$(DefineConstants);NO_SQL_CLIENT;NETSTANDARD;NETSTANDARD2_0</DefineConstants >
114
+ </PropertyGroup >
115
+
116
+ <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0'" Label =" Package References" >
117
+ <PackageReference Include =" Microsoft.Extensions.PlatformAbstractions" Version =" 1.1.0" />
118
+ <PackageReference Include =" System.Reflection.Emit.Lightweight" Version =" 4.3.0" />
119
+ </ItemGroup >
120
+
112
121
<PropertyGroup Condition =" '$(TargetFramework)' == 'portable46-net451+win81+wpa81'" Label =" Build" >
113
122
<TargetFrameworkIdentifier >.NETPortable</TargetFrameworkIdentifier >
114
123
<TargetFrameworkVersion >v4.6</TargetFrameworkVersion >
Original file line number Diff line number Diff line change @@ -389,7 +389,7 @@ public static bool DynamicCodeGeneration
389
389
{
390
390
if ( _dynamicCodeGeneration == null )
391
391
{
392
- #if ! ( DOTNET || PORTABLE40 || PORTABLE || NETSTANDARD1_0 || NETSTANDARD1_1 || NETSTANDARD1_2 || NETSTANDARD1_3 || NETSTANDARD1_4 || NETSTANDARD1_5 )
392
+ #if ! ( DOTNET || PORTABLE40 || PORTABLE || NETSTANDARD1_0 || NETSTANDARD1_1 || NETSTANDARD1_2 || NETSTANDARD1_3 || NETSTANDARD1_4 || NETSTANDARD1_5 || NETSTANDARD2_0 )
393
393
try
394
394
{
395
395
new ReflectionPermission ( ReflectionPermissionFlag . MemberAccess ) . Demand ( ) ;
Original file line number Diff line number Diff line change 7
7
<AssemblyTitle >Exceptionless client for ASP.NET Core</AssemblyTitle >
8
8
<Description >Exceptionless client for ASP.NET Core. $(Description)</Description >
9
9
<PackageTags >ASP.NET;Exceptionless;Error;Report;Reporting;Exception;Logging;Log;ELMAH</PackageTags >
10
- <TargetFrameworks >netstandard1.5;net451</TargetFrameworks >
10
+ <TargetFrameworks >netstandard1.5;netstandard2.0; net451</TargetFrameworks >
11
11
</PropertyGroup >
12
12
13
13
<ItemGroup Label =" Package" >
45
45
<PackageReference Include =" System.Net.Primitives" Version =" 4.3.0" />
46
46
</ItemGroup >
47
47
48
+ <PropertyGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " Label =" Build" >
49
+ <DefineConstants >$(DefineConstants);NETSTANDARD2_0</DefineConstants >
50
+ </PropertyGroup >
51
+
52
+ <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " Label =" Package References" >
53
+ <PackageReference Include =" System.Net.Primitives" Version =" 4.3.0" />
54
+ </ItemGroup >
55
+
48
56
<PropertyGroup Condition =" '$(TargetFramework)' == 'net451' " Label =" Build" >
49
57
<DefineConstants >$(DefineConstants);NET45</DefineConstants >
50
58
</PropertyGroup >
You can’t perform that action at this time.
0 commit comments