You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C:\tmp\trash\testProj\nunit> dotnet new nunit
The template "NUnit 3 Test Project" was created successfully.
Processing post-creation actions...
Restoring C:\tmp\trash\testProj\nunit\nunit.csproj:
C:\Program Files\dotnet\sdk\9.0.200\NuGet.targets(175,5): error : The given key '0' was not present in the dictionary.
Restore failed.
Post action failed.
Manual instructions: Run 'dotnet restore'
C:\tmp\trash\testProj\nunit> dotnet restore
C:\Program Files\dotnet\sdk\9.0.200\NuGet.targets(175,5): error : The given key '0' was not present in the dictionary.
Restore failed with 1 error(s) in 0.6s
@JanKrivanek I think this is a duplicate of #14052 which has been fixed but not yet released. Can you verify that this command correctly displays an error instead of this unhandled exception?
Your project, nunit, is referencing a package named NUnit and you should be getting an error about a cycle. Changing the name of your project will fix the issue.
NuGet Product Used
dotnet.exe
Product Version
9.0.200
Worked before?
Not sure
Impact
None
Repro Steps & Context
msbuild_binlog.txt
Works OK in other paths
Verbose Logs
The text was updated successfully, but these errors were encountered: