adjust defaultBenchmarkDotNetVersion on build
Some automatic to reconcile BenchmarkDotNet version with default version in template
If it's good enough I will fix templates for VB and F# also. If not just close PR
I need some help – locally test AwaitingTasksShouldNotInterfereAllocationResults(toolchain: Core RT 6.0.0-preview.1.21074.3) fails with System.InvalidOperationException: Sequence contains no elements, but it fails on master too.
I've tried
var jsonNode = JsonNode.Parse(json);
jsonNode["symbols"]["version"]["defaultValue"] = $(VersionPrefix)
instead of
Regex.Replace(...)
but it leads to changes in .template.json
should I investigate with
var encoderSettings = new TextEncoderSettings();
encoderSettings.AllowRange(UnicodeRanges.BasicLatin);
encoderSettings.AllowCharacters('\u0027');
?
Or current solution with Regex is good enough?
I've tried
var jsonNode = JsonNode.Parse(json); jsonNode["symbols"]["version"]["defaultValue"] = $(VersionPrefix)instead of
Regex.Replace(...)but it leads to changes in .template.json
should I investigate with
var encoderSettings = new TextEncoderSettings(); encoderSettings.AllowRange(UnicodeRanges.BasicLatin); encoderSettings.AllowCharacters('\u0027');?
Or current solution with Regex is good enough?
disregard this. It will not work due to https://github.com/dotnet/msbuild/issues/5737
@askazakov thanks!
