Daniel Schroeder

Sharing my tips and tricks to help other developers be more productive. This blog has moved to http://blog.danskingdom.com
posts - 44 , comments - 41 , trackbacks - 0

Wednesday, June 1, 2011

Making solutions with lots of projects load and build faster in Visual Studio

I came across this great article which talks about simply unloading projects from a solution to make the solution load and build faster in Visual Studio.  This is great, as some of the solution files I work in contain over 300 projects and it can sometimes take a while to load.  Also, because the information about which projects to load is stored in the .suo file (not the .sln file itself), this can be configured per developer so they only have to load the projects that they work in (the .suo files should never be stored in source control).

Now, unloading 300 projects one at a time would take forever, but luckily there…

Read more at http://blog.danskingdom.com/making-solutions-with-lots-of-projects-load-and-build-faster-in-visual-studio/

Posted On Wednesday, June 1, 2011 8:55 AM | Comments (4) |

Setting up keyboard shortcuts to build solutions in MSBuild

One of the greatest benefits of building your solution flies in MSBuild (vs in Visual Studio directly) is that it doesn't lock up the Visual Studio UI, which can be a huge pain if you have a large solution that takes several minutes (or longer) to build.  Building your solution in MSBuild leaves you free to inspect code in Visual Studio while your solution is building.  The only problem is that to do this you have to open a command prompt and type the command + path every time to build.

If you want to be able to right-click on a solution file and build it in MSBuild from the Windows Explorer context menu, check out…

Read more at http://blog.danskingdom.com/setting-up-keyboard-shortcuts-to-build-solutions-in-msbuild/

Posted On Wednesday, June 1, 2011 8:46 AM | Comments (0) |

Powered by: