✅ Created a ASP.Net Core MVC project first time, build takes too long
I have created a project using default template, and when I click on Start Debugging button to run project with IIS Express and Firefox, the build creation remains in progress for more than 5 minutes. I have installed Visual Studio 2022 with .NET 8.
13 Replies
is that time drasticly different from what
dotnet build
takes? after a dotnet clean
, if neededUnknown User•2mo ago
Message Not Public
Sign In & Join Server To View
Oh I have .Net 9. I dont see my project option to run, dotnet run is in progress.
My recent build has completed
Build completed at 5:37 PM and took 04:20.595 minutes
dotnet build command is in progress
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
then i get these errors after 4 min build.. need to fix these import issues too

It shows at last something related to nuget package manager.. maybe thats what causing the actual problem..
issue in both dotnet build and dotnet run

hm, it cant reach the nuget index
so it cant properly do a package restore
my internet issue?
could be
can you reach that url in a browser?
the index.json file
Nope.. Connection getting timed out on browser..
okay
works fine for me and via a few VPNs I just tried
so I think its a local issue for you, unfortunately
Yeah, thanks .. Fixed my internet issue and everything is working now..