Suro
Suro
Explore posts from servers
CC#
Created by Suro on 6/18/2024 in #help
✅ [Solved] Dotnet restore is failing on new apps
I'm working with the CLI on linux. Any new app I create (console, web api, etc) running dotnet restore fails like this:
Build FAILED.

"/home/suren/test/test.csproj" (Restore target) (1) ->
(Restore target) ->
/usr/share/dotnet/sdk/8.0.106/NuGet.targets(156,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/home/suren/test/test.csproj]
/usr/share/dotnet/sdk/8.0.106/NuGet.targets(156,5): error : The HTTP request to 'GET https://api.nuget.org/v3/index.json' has timed out after 100000ms. [/home/suren/test/test.csproj]

0 Warning(s)
1 Error(s)
Build FAILED.

"/home/suren/test/test.csproj" (Restore target) (1) ->
(Restore target) ->
/usr/share/dotnet/sdk/8.0.106/NuGet.targets(156,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [/home/suren/test/test.csproj]
/usr/share/dotnet/sdk/8.0.106/NuGet.targets(156,5): error : The HTTP request to 'GET https://api.nuget.org/v3/index.json' has timed out after 100000ms. [/home/suren/test/test.csproj]

0 Warning(s)
1 Error(s)
I have an existing project I pulled from github, dotnet restore works fine on it. Anyone know what is going on?
45 replies
CC#
Created by Suro on 6/8/2024 in #help
Open source LSP with dependency injection aware implementation finding?
I got OmniSharp working in Neovim but it doesn't find implementations for services that are DId into controllers. Has anyone got this working?
52 replies