File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/Platforms/Exceptionless.NLog
test/Exceptionless.Tests/Plugins Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 25
25
<ProjectReference Include =" ..\..\Exceptionless\Exceptionless.csproj" />
26
26
</ItemGroup >
27
27
28
+ <ItemGroup Label =" Package References" >
29
+ <PackageReference Include =" NLog" Version =" 4.5.0" />
30
+ </ItemGroup >
31
+
28
32
<PropertyGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " Label =" Build" >
29
33
<DefineConstants >$(DefineConstants);NETSTANDARD;NETSTANDARD2_0</DefineConstants >
30
34
</PropertyGroup >
31
35
32
- <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.0' " Label =" Package References" >
33
- <PackageReference Include =" NLog" Version =" 4.5.0-rc02" />
34
- </ItemGroup >
35
-
36
36
<PropertyGroup Condition =" '$(TargetFramework)' == 'net45' " Label =" Build" >
37
37
<DefineConstants >$(DefineConstants);NET45</DefineConstants >
38
38
</PropertyGroup >
39
39
40
40
<ItemGroup Condition =" '$(TargetFramework)' == 'net45' " Label =" Framework References" >
41
- <PackageReference Include =" NLog" Version =" 4.4.12" />
42
41
<Reference Include =" System" />
43
42
<Reference Include =" Microsoft.CSharp" />
44
43
</ItemGroup >
Original file line number Diff line number Diff line change @@ -555,10 +555,10 @@ public void CanAddPluginConcurrently() {
555
555
[ Fact ]
556
556
public void EnvironmentInfo_CanRunInParallel ( ) {
557
557
var client = CreateClient ( ) ;
558
- var ev = new Event { Type = Event . KnownTypes . Session } ;
559
558
var plugin = new EnvironmentInfoPlugin ( ) ;
560
559
561
560
Parallel . For ( 0 , 10000 , i => {
561
+ var ev = new Event { Type = Event . KnownTypes . Session } ;
562
562
var context = new EventPluginContext ( client , ev ) ;
563
563
plugin . Run ( context ) ;
564
564
Assert . Single ( context . Event . Data ) ;
You can’t perform that action at this time.
0 commit comments