We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7265c14 commit 626dcbaCopy full SHA for 626dcba
src/BenchmarkDotNet/Environments/Runtimes/CoreRuntime.cs
@@ -208,9 +208,7 @@ private static CoreRuntime GetPlatformSpecific(CoreRuntime fallback)
208
if (!(platformNameProperty.GetValue(attributeInstance) is string platformName))
209
return fallback;
210
211
- // it's something like "Windows7.0";
212
- var justName = new string(platformName.TakeWhile(char.IsLetter).ToArray());
213
- return new CoreRuntime(fallback.RuntimeMoniker, $"{fallback.MsBuildMoniker}-{justName}", fallback.Name);
+ return new CoreRuntime(fallback.RuntimeMoniker, $"{fallback.MsBuildMoniker}-{platformName}", fallback.Name);
214
}
215
216
0 commit comments