Is there any option I can unuse/use for speed up the startup of the project?
Feels like it does a “fresh” startup every time I will debug my code, index generate and so on. I have Models Mode: SourceCodeManual and using AddRazorRuntimeCompilation() from the backoffice package.
Just to clarify looking at your screenshot, your actual Umbraco startup is only ~4.7 seconds which is totally normal. The 00:00:04.7763432 in the log is hh:mm:ss format, so that’s 4 seconds, not 4 minutes.
The 4 min you mentioned is likely you clocking the whole experience in Visual Studio which includes build time (~1:30 min) + waiting + app startup. So Umbraco itself isn’t the problem, it’s the VS build time that’s eating your time.
In my experience, the build times in VS2026 are horrible. It has something to do with Windows defender. Even when you exclude the usual processes and folders, it’s still much slower than VS2022. It you disable real time protection in Windows defender, it will dramatically speed that up. I haven’t found a good solution for this yet.
Yeah, it´s feels like I need to have it this way for awhile until we have a better fix for it.
Real time protection didn´t do much on my startup but I am still using Umbraco.Cms.DevelopmentMode.Backoffice and I don´t wanna remove that since then I can´t code properly
I will try to remove some code that are unnecessary for this project it might speed up some at least, lesser razor code and models. Thanks Umbracians!