C
C#16mo ago
steveRoll

❔ Slow build times

I'm using VSCode and the C# extension generated a build task for me, but it seems awfully slow, at least compared to Visual Studio. It takes like 4 seconds from the moment I press F5 to the moment when my program starts. The command it seems to be running is dotnet build project /property:GenerateFullPaths=true /consoleloggerparameters:NoSummary And a few outputs that seem to take half the time are these:
MSBuild version 17.4.8+6918b863a for .NET
Determining projects to restore...
All projects are up-to-date for restore.
MSBuild version 17.4.8+6918b863a for .NET
Determining projects to restore...
All projects are up-to-date for restore.
is there any way to make this process a bit faster?
4 Replies
FestivalDelGelato
is it an empty project? do you have unreachable nuget sources in your project?
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
steveRoll
steveRollOP16mo ago
it's not an empty project, and all nuget sources in it are reachable it shows that "restore" message every time I build, even when all the dependencies are already there
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?