[Bug]: F5 for XPlat CLI fails due to missing assembly (may need retarget to net6.0) #11158
Labels
Category:Quality Week
Issues that should be considered for quality week
Priority:2
Issues for the current backlog.
Product:dotnet.exe
Type:Bug
Type:Engineering
product/infrastructure work/not a customer bug/feature/DCR
Milestone
NuGet Product Used
NuGet.exe
Product Version
dev
- note that XPlat.exe is not in above listWorked before?
No response
Impact
No response
Repro Steps & Context
Open NuGet.sln in VS, set NuGet.CommandLine.XPlat as startup project, set Debug command line parameters as
package list SomeProject.csproj --deprecated
(any report type should fail) and debug. You will see:error: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
Selecting a different framework will change the version of the unfound assembly but still fail.
Retargeting the project to net6.0 is a workaround and may be the fix, but that's just a suggestion FYI.
Verbose Logs
The text was updated successfully, but these errors were encountered: