Skip to content

[NETE2ESDK] On Ubuntu 24.04 ARM32 only, creating webapi project failed with error NU1301. #40505

@v-xiaofchen

Description

@v-xiaofchen

Repro steps:
On Ubuntu 24.04 ARM32, using dotnet-sdk-6.0.422-linux-arm.tar.gz from https://dev.azure.com/dnceng/internal/_build/results?buildId=2438540&view=artifacts&pathAsName=false&type=publishedArtifacts

Describe the bug

creating webapi project failed with error NU1301

To Reproduce

1.add private azure artifact feeds

<configuration>
  <packageSources>
    <add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/6.0.422-servicing.24223.20-shipping/nuget/v3/index.json" />
  </packageSources>
<packageSourceCredentials>
    <internalPackageSource>
        <add key="Username" value="mmitche" /> <!-- Your username -->
        <add key="CleartextPassword" value="" /> <!-- Insert PAT obtained as shown below -->
    </internalPackageSource>
  </packageSourceCredentials>
</configuration>

2.dotnet new webapi -o mywebapi

Expected behavior
The project can create successfully.

Exceptions (if any)

creating webapi project failed with error NU1301
image

dotnet --info

image

Note:
1.This issue also repro on publishing application with 'linux-arm --self-contaied'
image
2.This issue repro on .NET 6,7,8

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions