Skip to content

The "CreateNewImage" task was not given a value for the required parameter "ContainerRuntimeIdentifier" #641

@adc-cjewett

Description

@adc-cjewett

The documentation here states that the ContainerRuntimeIdentifier defaults to linux-x64. We've been relying on that functionality for over a year and it has been working great. Our CI pipelines are still working as well and they are currently on .NET SDK 9.0.101.

When running the CI pipeline locally I run into an issue stating ContainerRuntimeIdentifier is not set. I assume it's due to a .NET SDK update.
9.0.108 with global.json rollForward set to latestPatch: Failure
9.0.302 with global.json rollForward set to latestFeature: Failure
9.0.303 with global.json rollForward set to latestFeature: Failure
9.0.101 with global.json rollForward set to disable: Success

"C:\Program Files\dotnet\dotnet.exe" publish C:\FalcorApplications\unittestmonitor\src\UnitTestMonitor.Console\UnitTestMonitor.Console.csproj --configuration Release --framework net9.0 --no-restore --no-build --verbosity minimal /property:ContinuousIntegrationBuild=False /t:PublishContainer
C:\Program Files\dotnet\sdk\9.0.303\Containers\build\Microsoft.NET.Build.Containers.targets(250,5): error MSB4044: The "CreateNewImage" task was not given a value for the required parameter "ContainerRuntimeIdentifier".

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