File tree 1 file changed +0
-14
lines changed
tests/BenchmarkDotNet.IntegrationTests.ManualRunning.MultipleFrameworks
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,6 @@ public class MultipleFrameworksTest : BenchmarkTestExecutor
22
22
[ InlineData ( RuntimeMoniker . Net80 ) ]
23
23
public void EachFrameworkIsRebuilt ( RuntimeMoniker runtime )
24
24
{
25
- #if NET461
26
- // We cannot detect what target framework version the host was compiled for on full Framework,
27
- // which causes the RoslynToolchain to be used instead of CsProjClassicNetToolchain when the host is full Framework
28
- // (because full Framework always uses the version that's installed on the machine, unlike Core),
29
- // which means if the machine has net48 installed (not net481), the net461 host with net48 runtime moniker
30
- // will not be recompiled, causing the test to fail.
31
-
32
- // If we ever change the default toolchain to CsProjClassicNetToolchain instead of RoslynToolchain, we can remove this check.
33
- if ( runtime == RuntimeMoniker . Net48 )
34
- {
35
- // XUnit doesn't provide Assert.Skip API yet.
36
- return ;
37
- }
38
- #endif
39
25
var config = ManualConfig . CreateEmpty ( ) . AddJob ( Job . Dry . WithRuntime ( runtime . GetRuntime ( ) ) . WithEnvironmentVariable ( TfmEnvVarName , runtime . ToString ( ) ) ) ;
40
26
CanExecute < ValuePerTfm > ( config ) ;
41
27
}
You can’t perform that action at this time.
0 commit comments