C
C#3w ago
AnarchyNim

✅ 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
Pobiega
Pobiega3w ago
is that time drasticly different from what dotnet build takes? after a dotnet clean, if needed
Unknown User
Unknown User3w ago
Message Not Public
Sign In & Join Server To View
AnarchyNim
AnarchyNimOP3w ago
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
Unknown User3w ago
Message Not Public
Sign In & Join Server To View
AnarchyNim
AnarchyNimOP3w ago
then i get these errors after 4 min build.. need to fix these import issues too
No description
AnarchyNim
AnarchyNimOP3w ago
It shows at last something related to nuget package manager.. maybe thats what causing the actual problem..
AnarchyNim
AnarchyNimOP3w ago
issue in both dotnet build and dotnet run
No description
Pobiega
Pobiega3w ago
hm, it cant reach the nuget index so it cant properly do a package restore
AnarchyNim
AnarchyNimOP3w ago
my internet issue?
Pobiega
Pobiega3w ago
could be can you reach that url in a browser? the index.json file
AnarchyNim
AnarchyNimOP3w ago
Nope.. Connection getting timed out on browser..
Pobiega
Pobiega3w ago
okay works fine for me and via a few VPNs I just tried so I think its a local issue for you, unfortunately
AnarchyNim
AnarchyNimOP3w ago
Yeah, thanks .. Fixed my internet issue and everything is working now..

Did you find this page helpful?