Skip to content

After latest update of NativeAOT cannot publish samples #1451

@kant2002

Description

@kant2002

After these steps

cs samples/HelloWorld
../../.dotnet/dotnet publish -c Release -r linux-arm --packages pkg /p:DisableUnsupportedError=true

Publish fails with this message.

/home/pi/runtimelab/samples/HelloWorld/HelloWorld.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.linux-arm with version (= 6.0.0-rc.1.21411.2)
/home/pi/runtimelab/samples/HelloWorld/HelloWorld.csproj : error NU1102:   - Found 57 version(s) in dotnet-public [ Nearest version: 6.0.0-preview.7.21377.19 ]
/home/pi/runtimelab/samples/HelloWorld/HelloWorld.csproj : error NU1102:   - Found 0 version(s) in dotnet-experimental
/home/pi/runtimelab/samples/HelloWorld/HelloWorld.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Runtime.linux-arm with version (= 6.0.0-rc.1.21411.7)
/home/pi/runtimelab/samples/HelloWorld/HelloWorld.csproj : error NU1102:   - Found 59 version(s) in dotnet-public [ Nearest version: 6.0.0-preview.7.21378.6 ]
/home/pi/runtimelab/samples/HelloWorld/HelloWorld.csproj : error NU1102:   - Found 0 version(s) in dotnet-experimental

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