File tree Expand file tree Collapse file tree 6 files changed +10
-27
lines changed
Platforms/Exceptionless.NLog Expand file tree Collapse file tree 6 files changed +10
-27
lines changed Original file line number Diff line number Diff line change 91
91
},
92
92
"dependencies" : {
93
93
"Microsoft.Extensions.PlatformAbstractions" : " 1.0.0" ,
94
- "System.AppDomain" : " 2.0.10 " ,
94
+ "System.AppDomain" : " 2.0.11 " ,
95
95
"System.Collections" : " 4.0.11" ,
96
96
"System.Collections.Concurrent" : " 4.0.12" ,
97
97
"System.ComponentModel.TypeConverter" : " 4.1.0" ,
145
145
},
146
146
"dependencies" : {
147
147
"Microsoft.Extensions.PlatformAbstractions" : " 1.0.0" ,
148
- "System.AppDomain" : " 2.0.10 " ,
148
+ "System.AppDomain" : " 2.0.11 " ,
149
149
"System.Collections" : " 4.0.11" ,
150
150
"System.Collections.Concurrent" : " 4.0.12" ,
151
151
"System.ComponentModel.TypeConverter" : " 4.1.0" ,
200
200
},
201
201
"dependencies" : {
202
202
"Microsoft.Extensions.PlatformAbstractions" : " 1.0.0" ,
203
- "System.AppDomain" : " 2.0.10 " ,
203
+ "System.AppDomain" : " 2.0.11 " ,
204
204
"System.Collections" : " 4.0.11" ,
205
205
"System.Collections.Concurrent" : " 4.0.12" ,
206
206
"System.ComponentModel.TypeConverter" : " 4.1.0" ,
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
using System . Collections . Generic ;
3
3
using System . IO ;
4
+ using System . Reflection ;
4
5
using Exceptionless . Configuration ;
5
6
using Exceptionless . Dependency ;
6
7
using Exceptionless . Models ;
@@ -43,7 +44,7 @@ public void CanReadFromAttributes() {
43
44
Assert . Equal ( "https://collector.exceptionless.io" , config . ServerUrl ) ;
44
45
Assert . Equal ( 0 , config . Settings . Count ) ;
45
46
46
- config . ReadFromAttributes ( typeof ( ConfigurationTests ) . Assembly ) ;
47
+ config . ReadFromAttributes ( typeof ( ConfigurationTests ) . GetTypeInfo ( ) . Assembly ) ;
47
48
Assert . Equal ( "LhhP1C9gijpSKCslHHCvwdSIz298twx271n1l6xw" , config . ApiKey ) ;
48
49
Assert . Equal ( "http://localhost:45000" , config . ServerUrl ) ;
49
50
Assert . Equal ( 1 , config . Settings . Count ) ;
Original file line number Diff line number Diff line change 12
12
"Exceptionless" : {
13
13
"target" : " project"
14
14
},
15
- "Foundatio" : " 4.2.1046-pre" ,
16
15
"Moq" : " 4.6.25-alpha" ,
17
16
"NLog" : " 4.4.0-beta12" ,
18
17
"dotnet-test-xunit" : " 2.2.0-preview2-build1029" ,
23
22
"Exceptionless.RandomData" : " 1.1.24"
24
23
},
25
24
"frameworks" : {
26
- "netcoreapp1.0" : {
27
- "buildOptions" : {
28
- "define" : [ " NETSTANDARD" , " NETSTANDARD1_5" ]
29
- },
30
- "dependencies" : {
31
- "Microsoft.NETCore.App" : {
32
- "type" : " platform" ,
33
- "version" : " 1.0.0"
34
- }
35
- }
36
- },
37
25
"NET46" : {
38
26
"buildOptions" : {
39
27
"define" : [ " NET46" ]
Original file line number Diff line number Diff line change @@ -150,7 +150,6 @@ private void PopulateRuntimeInfo(EnvironmentInfo info) {
150
150
info . OSName = GetOSName ( RuntimeInformation . OSDescription ) ;
151
151
info . OSVersion = GetVersion ( RuntimeInformation . OSDescription ) ? . ToString ( ) ;
152
152
info . Architecture = RuntimeInformation . OSArchitecture . ToString ( ) ;
153
- info . RuntimeVersion = GetVersion ( RuntimeInformation . FrameworkDescription ) ? . ToString ( ) ;
154
153
info . Data [ "FrameworkDescription" ] = RuntimeInformation . FrameworkDescription ;
155
154
info . Data [ "ProcessArchitecture" ] = RuntimeInformation . ProcessArchitecture ;
156
155
#endif
@@ -192,6 +191,7 @@ private void PopulateRuntimeInfo(EnvironmentInfo info) {
192
191
193
192
try {
194
193
#if NETSTANDARD
194
+ info . RuntimeVersion = computerInfo . Application . RuntimeFramework . Version . ToString ( ) ;
195
195
info . Data [ "ApplicationBasePath" ] = computerInfo . Application . ApplicationBasePath ;
196
196
info . Data [ "ApplicationName" ] = computerInfo . Application . ApplicationName ;
197
197
info . Data [ "RuntimeFramework" ] = computerInfo . Application . RuntimeFramework . FullName ;
Original file line number Diff line number Diff line change 82
82
},
83
83
"dependencies" : {
84
84
"Microsoft.Extensions.PlatformAbstractions" : " 1.0.0" ,
85
- "System.AppDomain" : " 2.0.10 " ,
85
+ "System.AppDomain" : " 2.0.11 " ,
86
86
"System.Collections" : " 4.0.11" ,
87
87
"System.Collections.Concurrent" : " 4.0.12" ,
88
88
"System.ComponentModel.TypeConverter" : " 4.1.0" ,
136
136
},
137
137
"dependencies" : {
138
138
"Microsoft.Extensions.PlatformAbstractions" : " 1.0.0" ,
139
- "System.AppDomain" : " 2.0.10 " ,
139
+ "System.AppDomain" : " 2.0.11 " ,
140
140
"System.Collections" : " 4.0.11" ,
141
141
"System.Collections.Concurrent" : " 4.0.12" ,
142
142
"System.ComponentModel.TypeConverter" : " 4.1.0" ,
191
191
},
192
192
"dependencies" : {
193
193
"Microsoft.Extensions.PlatformAbstractions" : " 1.0.0" ,
194
- "System.AppDomain" : " 2.0.10 " ,
194
+ "System.AppDomain" : " 2.0.11 " ,
195
195
"System.Collections" : " 4.0.11" ,
196
196
"System.Collections.Concurrent" : " 4.0.12" ,
197
197
"System.ComponentModel.TypeConverter" : " 4.1.0" ,
Original file line number Diff line number Diff line change 21
21
},
22
22
"buildOptions" : {
23
23
"compile" : [ " **/*.cs" , " ../../GlobalAssemblyInfo.cs" ],
24
+ "debugType" : " portable" ,
24
25
"nowarn" : [
25
26
" CS1591"
26
27
],
37
38
"frameworks" : {
38
39
"netstandard1.3" : {
39
40
"buildOptions" : {
40
- "debugType" : " portable" ,
41
41
"define" : [ " NETSTANDARD" , " NETSTANDARD1_3" ]
42
- },
43
- "dependencies" : {
44
- "NLog" : " 4.4.0-beta11"
45
42
}
46
43
},
47
44
"net45" : {
48
45
"buildOptions" : {
49
46
"define" : [ " NET45" ]
50
- },
51
- "dependencies" : {
52
- "NLog" : " 4.3.4"
53
47
}
54
48
}
55
49
}
You can’t perform that action at this time.
0 commit comments