Reduce overall build time and provide better feedback on the progress in the UI.
Building currently completely blocks the UI, and no progress is shown. Just showing a responsive, non-blocking UI windows which shows progress and has a working cancel button would be a great addition.
47 comments
-
Michal Ciechan commented
@Alexander
Yes I do remember it speeding up our solution.In my case it was our corporate AV doing threat analysis on every single .dll file. I have been fighting with our infrastructure team for ages to remove our Visual Studio processes and/or Source code locations from the scan list, but no luck. Therefore every referenced .dll that didn't need to get copied each time save a a fair bit of time!Unfortunately never had the time to do a good time comparison!
-
Alexander commented
@Michal Ciechan:
Does this work for you?
I tried this with my big solution, but since then I get build errors often, because (nuget) references are copied to the same output folder from multiple projects at the same time when it tries to build my projects in parallel. -
Asbjørn Ulsberg commented
@Rob, recommending people to buy an SSD in 2017 feels a bit ... outdated. Of course I have an SSD. But even with an SSD, not doing disk IO at all could increase build speeds up to 10 times. It seems wasteful to do the extreme amounts of disk IO Visual Studio does during a build when everything but the final result can be performed in-memory.
https://www.laptopmag.com/articles/faster-than-an-ssd-how-to-turn-extra-memory-into-a-ram-disk
-
Rob Siklos commented
@Asbjørn Ulsberg Instead of getting a RAM disk, you could also just get an SSD.
-
Asbjørn Ulsberg commented
Not building to disk, but to memory, would also speed things up. This can currently be implemented by creating a RAMDisk, but that's a hack requiring proprietary, not-for-free, third-party solutions. It's not clear to me why Visual Studio needs to top the disk IO meter in Task Manager when it's building.
-
Michal Ciechan commented
One way to reduce overall build time in large projects is to set build output to a common folder. Have raised issue for setting this at solution level:
-
Anonymous commented
Certains styles utilisent un tout petit peu pour élever vos filles, les faisant apparaître plus grand. Les destockage zara peuvent être les premières femmes à lancer la production de jupes masse en 2015. Ses robe col claudine zara dorés et Brian Atwood franges complètent le look chaud chaud. Avec autant de différents types disponibles sur le marché, vous pouvez être assuré d’avoir le type qui vous réunissez à un moment donné. Solange brillant, Calvin Klein spangly collection était trop beau pour être vrai. Ce style de titane plus manteaux femme zara discret sera en vente sur mr.
Impressionné ont préféré chercher un volume sonore dans les commentaires. L'actrice célèbre a créé sa propre zara chemises homme pour les Emmys en 2011 avec l'aide de couturier Daniella perle et a révélé aux journalistes ce soir-là, par les gens StyleWatch, ce hangar a fréquenté le collège pour les vêtements et les textiles et avait d'abord pensé jeter aller dans la conception. Ceci est le premier été, je suis tombé pour les espadrilles chaussures bébé zara décontracté confortable, et il est génial. De plus, avec le peplum et taille haute, celle-ci rend ses jambes miles de long. Maintenant dites-moi: qui était votre première dame de la christina nuit déjà nous a donné les têtes sur une manière mignonne et abordable pour personnaliser la trench homme zara parfaite d'été à votre goût et votre style personnel, mais saviez-vous que vous pouvez également créer vos ancienne collection zara de rêve aussi parce que il n'y a rien de pire qu'un moment Twinsies, surtout quand ces photos Facebook et Instagram durer éternellement. De plus, tout ce qui cuir sac zara 2017 brillant a une servitude définitive feel to it.
http://www.zara-paris.com/soldes-zara.html
Elle alla modèle ultra chic avec ses accessoires: chukkas daim, un sac de oeillet embelli, et une zara bebe fillette en cuir clouté. Autre que pour votre plus grand conclure (comme, manteau duffle coat zara ), sont maintenant de plus en plus d’être très peu coûteux. La popularité de Fishtail parka provient des britanniques de 70 à -80 ans dans les jeunes Mods dans la zara discount culture populaire est une partie intégrante de Mods ethnique est un produit unique, mais forfait de base est la solde zara couche externe de la queue, qui prennent le zara home france magasins costume, les pieds Clarks desert boots piétinés; En outre, pas moins voiture standard - Vespa.Les amoureuses de la nature adorent les vetement. Elle se sent comme un fan de la mode vrai pour moi, et même si elle opte souvent pour des vifs, l'aspect ludique de ce choix était assez sur son propre. Aimez-vous attendre jusqu'à ce qu'il soit considérablement réduite, ou allez-vous faire des folies sur un produit de luxe, si vous avez manqué pendant un certain temps, jusqu'à il y a environ 15 minutes, je pensais que je vetement bébé garçon zara devais Emily Blunt bord de demain Premiere semble tout compris. -
David Goodenough commented
For batch builds, when building multiple configurations (e.g. release / debug / release with debug symbols and x86 / x64), that potentially six different configurations. In a batch run they are all run sequentially. This could *EASILY* be improved to build projects in parallel if there are no dependencies. Normal "F7" builds already do this, why not batch builds?
-
Mark Oueis commented
We need something like this built right into visual studio. This should be the default way of doing things. https://blog.jetbrains.com/dotnet/2015/10/15/introducing-resharper-build/
-
Mark Oueis commented
Needs to be something like this: https://blog.jetbrains.com/dotnet/2015/10/15/introducing-resharper-build/
-
Mark Oueis commented
It would be nice if MSFT commented on this one
-
Mark Oueis commented
2 minutes is an eternity for a one line code change and then running unit tests for it. Then you found out while its compiling you made an error, you try and stop the build midway, it hangs for a little bit, make the change then wait another 2 minutes. Multiply that by 20 compiles a day for 20 developers and that's 13 hours every day.
-
Kevin commented
2 minutes is not very long. Try building the Linux kernel from source.
-
Mark Oueis commented
Forgot to mention i'm running on an i7 with SSDs so hardware really won't make a big difference
-
Mark Oueis commented
1) It takes me 22 seconds to build my solution in visual studio if i make no changes to it (100 projects or so).
2) If i change a core project (one that many other projects depend on), it takes over 2 minutesThis is horrible for TDD and unit testing since if i need to fix a simple class somewhere and then recompile my test i have to wait up to 2 minutes.
This is forcing us to mess with the Copy Local flag accross our projects and even then its not enough. Some developers have even started to hack the Microsoft.targets to modify how dependencies are resolved. See: http://stackoverflow.com/questions/280751/what-is-the-best-practice-for-copy-local-and-with-project-references
-
kovarex commented
It was promised, that 2015 build times will improve compared to vs 2013 but they are actually slightly slower.
-
Глеб Севрук commented
.Net Demon is the best. Studio will never reach that performance.
I'm not advertising, I'm a happy customer :)
-
Dimitri Dering commented
I'd recommend the following article about large solutions: http://www.codeproject.com/Articles/668180/Master-large-amounts-of-code-with-Visual-Studio
-
Arne Klein commented
Is there anything done in this area?
It seems that performance is actually getting worse as of today.
We are working on an MVC application with currently 30 projects and we updated the project to VS 2013 and MVC 5 this week. It seems like the performance decreased a lot since the update.
-
Mohamadreza Rezaei commented
very nearby my idea but I have another think that...