You are not logged in.
When I try to run a VSCode .NET project, this is the output:
Determining projects to restore...
/home/codingfox/App1/ConsoleApp1/ConsoleApp1.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.arch-x64. No packages exist with this id in source(s): nuget.org [/home/codingfox/App1/ConsoleApp1.sln]
Failed to restore /home/codingfox/App1/ConsoleApp1/ConsoleApp1.csproj (in 1.86 sec).
Can you help?
Arch Linux = problems, but also Arch != problems!
PC Specs:
Base: Dell OptiPlex 3020, Videocard: AMD Radeon R5 240, RAM: 8GB(4x4), OS: Arch Linux + Windows 10 dualboot
Offline
I just typed "VSCode error NU1101: Unable to find package" into a search engine and got a laundry list of relevant results: every single one of the first several listed has a solution.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Mod note: moving to AUR Issues.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
I think the problem is that VScode is looking for Microsoft.NETCore.App.Host.arch-x64, when it has been replaced by Microsoft.NETCore.App.Host.linux-x64.
Arch Linux = problems, but also Arch != problems!
PC Specs:
Base: Dell OptiPlex 3020, Videocard: AMD Radeon R5 240, RAM: 8GB(4x4), OS: Arch Linux + Windows 10 dualboot
Offline
I think the problem is that your google is broken.
Seriously, this is an extremely common error message with *very* well documented solutions all available with a simple web search. Do not expect to be spoon fed all the answers here. If you've found and tried any published solutions and they haven't worked, that may be a different story - but there's no indication that you've even yet made the effort.
Last edited by Trilby (2024-07-26 15:27:49)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline