File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
tests/BenchmarkDotNet.IntegrationTests.ManualRunning.MultipleFrameworks Expand file tree Collapse file tree 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
2222 [ InlineData ( RuntimeMoniker . Net80 ) ]
2323 public void EachFrameworkIsRebuilt ( RuntimeMoniker runtime )
2424 {
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
3925 var config = ManualConfig . CreateEmpty ( ) . AddJob ( Job . Dry . WithRuntime ( runtime . GetRuntime ( ) ) . WithEnvironmentVariable ( TfmEnvVarName , runtime . ToString ( ) ) ) ;
4026 CanExecute < ValuePerTfm > ( config ) ;
4127 }
You can’t perform that action at this time.
0 commit comments