File tree 1 file changed +6
-3
lines changed
test/PowerShellEditorServices.Test.Host
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 10
10
using System . Collections . Concurrent ;
11
11
using System . Diagnostics ;
12
12
using System . IO ;
13
- using System . Reflection ;
14
13
using System . Text ;
15
14
using System . Threading ;
16
15
using System . Threading . Tasks ;
17
16
17
+ #if CoreCLR
18
+ using System . Reflection ;
19
+ #endif
20
+
18
21
namespace Microsoft . PowerShell . EditorServices . Test . Host
19
22
{
20
23
public class ServerTestsBase
21
24
{
22
- private static int sessionCounter ;
25
+ private static int sessionCounter ;
23
26
private Process serviceProcess ;
24
27
protected IMessageSender messageSender ;
25
28
protected IMessageHandlers messageHandlers ;
@@ -47,7 +50,7 @@ protected async Task<Tuple<int, int>> LaunchService(
47
50
FileVersionInfo fileVersionInfo =
48
51
FileVersionInfo . GetVersionInfo ( assemblyPath ) ;
49
52
50
- string sessionPath =
53
+ string sessionPath =
51
54
Path . Combine (
52
55
Path . GetDirectoryName ( assemblyPath ) , $ "session-{ ++ sessionCounter } .json") ;
53
56
You can’t perform that action at this time.
0 commit comments