NU1004 The project's runtime identifiers have changed - ".NETFramework,Version=v4.8/win-arm64" #12711
Labels
Area:RestoreRepeatableBuild
The lock file features
Functionality:Restore
Resolution:ByDesign
This issue appears to be ByDesign
Resolution:NotABug
This issue appears to not be a bug
Type:Bug
Not sure if this should be here or dotnet/runtime but the error starts with "NU" so I'm starting here :)
Have started receiving this error message building my non-sdk style project:
Example project snippet:
I was under the understanding that arm64 support was only being added to .Net Framework 4.8.1 (note the extra .1) to avoid this kind of problem.
The workaround is to regenerate the
packages.lock.json
file which adds in the".NETFramework,Version=v4.8/win-arm64": {
part. Not sure if this break building the project in older versions of Visual Studio, etc. Regardless it's unexpected and unwanted churn to have a broken build like this.Nuget Version: 6.6.1+f4f3bb12a1ccbb974bca9b115a7b7291a7d6fb39.f4f3bb12a1ccbb974bca9b115a7b7291a7d6fb39
Platform: Azure DevOpos Hosted Agent 20230620.1.0 (windows-2022)
The text was updated successfully, but these errors were encountered: