@@ -23,7 +23,7 @@ public class GivenThatWeWantToBuildALibraryWithTfm : SdkTest
23
23
[ Fact ]
24
24
public void It_builds_the_monoandroid_library_successfully_on_windows ( )
25
25
{
26
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
26
+ if ( ! UsingFullFrameworkMSBuild )
27
27
{
28
28
return ;
29
29
}
@@ -54,7 +54,7 @@ public void It_builds_the_monoandroid_library_successfully_on_windows()
54
54
[ Fact ]
55
55
public void It_builds_the_net40_client_library_successfully_on_windows ( )
56
56
{
57
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
57
+ if ( ! UsingFullFrameworkMSBuild )
58
58
{
59
59
return ;
60
60
}
@@ -86,7 +86,7 @@ public void It_builds_the_net40_client_library_successfully_on_windows()
86
86
[ Fact ]
87
87
public void It_builds_the_net45_library_successfully_on_windows ( )
88
88
{
89
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
89
+ if ( ! UsingFullFrameworkMSBuild )
90
90
{
91
91
return ;
92
92
}
@@ -145,7 +145,7 @@ public void It_builds_the_netstandard15_library_successfully()
145
145
[ Fact ]
146
146
public void It_builds_the_portable_profile44_library_successfully_on_windows ( )
147
147
{
148
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
148
+ if ( ! UsingFullFrameworkMSBuild )
149
149
{
150
150
return ;
151
151
}
@@ -178,7 +178,7 @@ public void It_builds_the_portable_profile44_library_successfully_on_windows()
178
178
[ Fact ]
179
179
public void It_builds_the_portable_profile151_library_successfully_on_windows ( )
180
180
{
181
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
181
+ if ( ! UsingFullFrameworkMSBuild )
182
182
{
183
183
return ;
184
184
}
@@ -210,7 +210,7 @@ public void It_builds_the_portable_profile151_library_successfully_on_windows()
210
210
[ Fact ]
211
211
public void It_builds_the_portable_profile259_library_successfully_on_windows ( )
212
212
{
213
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
213
+ if ( ! UsingFullFrameworkMSBuild )
214
214
{
215
215
return ;
216
216
}
@@ -242,7 +242,7 @@ public void It_builds_the_portable_profile259_library_successfully_on_windows()
242
242
[ Fact ]
243
243
public void It_builds_the_sl5_library_successfully_on_windows ( )
244
244
{
245
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
245
+ if ( ! UsingFullFrameworkMSBuild )
246
246
{
247
247
return ;
248
248
}
@@ -274,7 +274,7 @@ public void It_builds_the_sl5_library_successfully_on_windows()
274
274
[ Fact ]
275
275
public void It_builds_the_win8_library_successfully_on_windows ( )
276
276
{
277
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
277
+ if ( ! UsingFullFrameworkMSBuild )
278
278
{
279
279
return ;
280
280
}
@@ -307,7 +307,7 @@ public void It_builds_the_win8_library_successfully_on_windows()
307
307
[ Fact ]
308
308
public void It_builds_the_win81_library_successfully_on_windows ( )
309
309
{
310
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
310
+ if ( ! UsingFullFrameworkMSBuild )
311
311
{
312
312
return ;
313
313
}
@@ -340,7 +340,7 @@ public void It_builds_the_win81_library_successfully_on_windows()
340
340
[ Fact ]
341
341
public void It_builds_the_wp8_library_successfully_on_windows ( )
342
342
{
343
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
343
+ if ( ! UsingFullFrameworkMSBuild )
344
344
{
345
345
return ;
346
346
}
@@ -372,7 +372,7 @@ public void It_builds_the_wp8_library_successfully_on_windows()
372
372
[ Fact ]
373
373
public void It_builds_the_wp81_library_successfully_on_windows ( )
374
374
{
375
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
375
+ if ( ! UsingFullFrameworkMSBuild )
376
376
{
377
377
return ;
378
378
}
@@ -404,7 +404,7 @@ public void It_builds_the_wp81_library_successfully_on_windows()
404
404
[ Fact ]
405
405
public void It_builds_the_wpa81_library_successfully_on_windows ( )
406
406
{
407
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
407
+ if ( ! UsingFullFrameworkMSBuild )
408
408
{
409
409
return ;
410
410
}
@@ -437,7 +437,7 @@ public void It_builds_the_wpa81_library_successfully_on_windows()
437
437
[ Fact ]
438
438
public void It_builds_the_uap10_0_library_successfully_on_windows ( )
439
439
{
440
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
440
+ if ( ! UsingFullFrameworkMSBuild )
441
441
{
442
442
return ;
443
443
}
@@ -469,7 +469,7 @@ public void It_builds_the_uap10_0_library_successfully_on_windows()
469
469
[ Fact ]
470
470
public void It_builds_the_xamarinios_library_successfully_on_windows ( )
471
471
{
472
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
472
+ if ( ! UsingFullFrameworkMSBuild )
473
473
{
474
474
return ;
475
475
}
@@ -501,7 +501,7 @@ public void It_builds_the_xamarinios_library_successfully_on_windows()
501
501
[ Fact ]
502
502
public void It_builds_the_xamarinmac_library_successfully_on_windows ( )
503
503
{
504
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
504
+ if ( ! UsingFullFrameworkMSBuild )
505
505
{
506
506
return ;
507
507
}
@@ -532,7 +532,7 @@ public void It_builds_the_xamarinmac_library_successfully_on_windows()
532
532
[ Fact ]
533
533
public void It_builds_the_xamarintvos_library_successfully_on_windows ( )
534
534
{
535
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
535
+ if ( ! UsingFullFrameworkMSBuild )
536
536
{
537
537
return ;
538
538
}
@@ -564,7 +564,7 @@ public void It_builds_the_xamarintvos_library_successfully_on_windows()
564
564
[ Fact ]
565
565
public void It_builds_the_xamarinwatchos_library_successfully_on_windows ( )
566
566
{
567
- if ( ! RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
567
+ if ( ! UsingFullFrameworkMSBuild )
568
568
{
569
569
return ;
570
570
}
0 commit comments