dotnet / dotnet/crank

Unknown switch

Open
#816 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.1k
Forks
111
Avg merge
2d 21h
Merged PRs (30d)
3

Description

Hello,

I try to use crank to .net 6.0 application but I get error uknown switch: Switch: --disable-build-servers
Full command is:
'C:\userfolder\AppData\Local\Temp\2\benchmarks-agent\benchmarks-server-31340\n3fxazep.mx0\sdk\6.0.428\MSBuild.dll -maxcpucount -verbosity:m -target:Restore --property:MicrosoftNETCoreAppPackageVersion=6.0.36 --property:MicrosoftAspNetCoreAppPackageVersion=6.0.36 --property:GenerateErrorForMissingTargetingPacks=false --property:RestoreNoCache=true --property:MicrosoftWindowsDesktopAppPackageVersion=6.0.36 --property:MicrosoftNETPlatformLibrary=Microsoft.NETCore.App -property:PublishDir=C:\userFolder\AppData\Local\Temp\2\benchmarks-agent\benchmarks-server-31340\dryiiqjo.upf\hello-sample\published -property:SelfContained=True -property:_CommandLineDefinedSelfContained=true -property:RuntimeIdentifier=win-x64 -property:_CommandLineDefinedRuntimeIdentifier=true -property:Configuration=Release hello.csproj --disable-build-servers'

I try hello sample from this repo but I switch .net from 8.0 to 6.0 version. With .net 8.0 there is not problem. I think --disable-build-servers switch comes with .net 7.

https://github.com/dotnet/sdk/issues/25536

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.