You are not logged in.

#1 2024-07-25 12:06:26

CodingFox
Member
Registered: 2024-07-15
Posts: 9

VSCode not working.

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

#2 2024-07-25 12:34:00

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,105
Website

Re: VSCode not working.

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

#3 2024-07-25 13:21:06

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 12,244
Website

Re: VSCode not working.

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.

Offline

#4 2024-07-26 05:56:49

CodingFox
Member
Registered: 2024-07-15
Posts: 9

Re: VSCode not working.

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

#5 2024-07-26 12:08:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,105
Website

Re: VSCode not working.

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

Board footer

Powered by FluxBB