Closed tmds closed 4 years ago
It seems it does not work yet on the server:
error CS0117: 'GC' does not contain a definition for 'AllocateUninitializedArray'
@antonfirsov could you try --runtimeversion 5.0.*
? It should download the latest bits
--runtimeversion 5.0.*
did not help. I will ask Sebastien for support. @tmds any chance to revert this until we can make sure it works?
@antonfirsov Could you please try to find the version of SDK and Runtime that has exposed GC.AllocateUninitializedArray
as a public method and specifying it in an explicit way to the BenchmarkDriver
?. Sth like:
--runtime 5.0.0-preview.3.20173.5 --aspnetcoreversion 5.0.0-preview.3.20173.4 --sdk 5.0.100-preview.3.20174.1
BTW --runtimeversion 5.0.*
is a tip I got from @sebastienros last time I've run into similar issue ;)
Minor improvement. The APIs used here are new in .NET 5.
cc @antonfirsov @adamsitnik