Skip to content

Unknown switch #816

@Zefek

Description

@Zefek

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.

dotnet/sdk#25536

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions