[{"data":1,"prerenderedAt":225},["ShallowReactive",2],{"blog:2006:visual-studio-tips-1":3,"blogMore-Development":211,"comments-visual-studio-tips-1":224},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"category":11,"tags":12,"excerpt":15,"body":30,"_type":200,"_id":201,"_source":202,"_file":203,"_stem":204,"_extension":205,"url":206,"wordCount":207,"minutes":194,"commentCount":208,"image":209},"/blog/2006/visual-studio-tips-1","2006",false,"en","Visual Studio tips & tricks","The Visual Studio IDE (VS2003, VS2005) is a massive beast with a plethora of options, settings and tweaks to be had.","2006-10-11T01:01:09+00:00","Development",[13,14],".NET","Visual Studio",{"type":16,"children":17},"root",[18,25],{"type":19,"tag":20,"props":21,"children":22},"element","p",{},[23],{"type":24,"value":9},"text",{"type":19,"tag":20,"props":26,"children":27},{},[28],{"type":24,"value":29},"A few of my favorite, often overlooked ones, are:",{"type":16,"children":31,"toc":192},[32,36,40,47,60,65,84,93,99,104,122,128,144,156,162,173,184],{"type":19,"tag":20,"props":33,"children":34},{},[35],{"type":24,"value":9},{"type":19,"tag":20,"props":37,"children":38},{},[39],{"type":24,"value":29},{"type":19,"tag":41,"props":42,"children":44},"h2",{"id":43},"adding-existing-folders",[45],{"type":24,"value":46},"Adding existing folders",{"type":19,"tag":20,"props":48,"children":49},{},[50,52,58],{"type":24,"value":51},"The ",{"type":19,"tag":53,"props":54,"children":55},"em",{},[56],{"type":24,"value":57},"Add > Existing Item…",{"type":24,"value":59}," is all well and good for adding files but how do you add folders to your project?",{"type":19,"tag":20,"props":61,"children":62},{},[63],{"type":24,"value":64},"Specifically folders you’ve already dropped in place, ideally with all the files and sub-folders added.",{"type":19,"tag":20,"props":66,"children":67},{},[68,70,75,77,82],{"type":24,"value":69},"Simple: Click the ",{"type":19,"tag":53,"props":71,"children":72},{},[73],{"type":24,"value":74},"Show All Files",{"type":24,"value":76}," button at the top of the ",{"type":19,"tag":53,"props":78,"children":79},{},[80],{"type":24,"value":81},"Solution Explorer_pane then right-click the folder you want included and choose _Include in Project",{"type":24,"value":83},".",{"type":19,"tag":85,"props":86,"children":92},"img",{"className":87,"src":90,"alt":91},[88,89],"screenshot","right","https://img.damieng.com/blog/vs2005-csharp-navbar.gif","Visual Studio 2005 C# Navigation bar window",[],{"type":19,"tag":41,"props":94,"children":96},{"id":95},"speed-up-large-c-projects",[97],{"type":24,"value":98},"Speed up large C# projects",{"type":19,"tag":20,"props":100,"children":101},{},[102],{"type":24,"value":103},"VS2003 and 2005 can be sluggish at times especially with large projects.",{"type":19,"tag":20,"props":105,"children":106},{},[107,109,114,116,121],{"type":24,"value":108},"To get a much-needed speed boost head over to ",{"type":19,"tag":53,"props":110,"children":111},{},[112],{"type":24,"value":113},"Tools > Options… > Text Editor > C#",{"type":24,"value":115}," and uncheck ",{"type":19,"tag":53,"props":117,"children":118},{},[119],{"type":24,"value":120},"Navigation bar",{"type":24,"value":83},{"type":19,"tag":41,"props":123,"children":125},{"id":124},"install-the-c-snippets",[126],{"type":24,"value":127},"Install the C# snippets",{"type":19,"tag":20,"props":129,"children":130},{},[131,133,142],{"type":24,"value":132},"On occasion I find simple example snippets of C# code ending up on the front page of DotNetKicks despite Microsoft ",{"type":19,"tag":134,"props":135,"children":139},"a",{"href":136,"rel":137},"https://msdn.microsoft.com/vstudio/downloads/codesnippets/default.aspx#VCS",[138],"nofollow",[140],{"type":24,"value":141},"providing an entire snippet library of C# code",{"type":24,"value":143}," to do these things already.",{"type":19,"tag":20,"props":145,"children":146},{},[147,149,154],{"type":24,"value":148},"Head over to their download site, install the MSI then choose ",{"type":19,"tag":53,"props":150,"children":151},{},[152],{"type":24,"value":153},"Tools > Code Snippets Manager… > Visual C# > Add…",{"type":24,"value":155}," and enter the folder name that it popped up with post-install.",{"type":19,"tag":41,"props":157,"children":159},{"id":158},"open-folder-in-windows-explorer",[160],{"type":24,"value":161},"Open folder in Windows Explorer",{"type":19,"tag":20,"props":163,"children":164},{},[165,167,172],{"type":24,"value":166},"From time to time you’ll need to break out of Visual Studio into Windows Explorer and wondered why there is no right-mouse button context menu option available from ",{"type":19,"tag":53,"props":168,"children":169},{},[170],{"type":24,"value":171},"Solution Explorer",{"type":24,"value":83},{"type":19,"tag":20,"props":174,"children":175},{},[176,178,183],{"type":24,"value":177},"Just open the file from inside Visual Studio then right-click on the tab and choose ",{"type":19,"tag":53,"props":179,"children":180},{},[181],{"type":24,"value":182},"Open Containing Folder",{"type":24,"value":83},{"type":19,"tag":20,"props":185,"children":186},{},[187],{"type":19,"tag":53,"props":188,"children":189},{},[190],{"type":24,"value":191},"[)amien",{"title":193,"searchDepth":194,"depth":194,"links":195},"",2,[196,197,198,199],{"id":43,"depth":194,"text":46},{"id":95,"depth":194,"text":98},{"id":124,"depth":194,"text":127},{"id":158,"depth":194,"text":161},"markdown","content:blog:2006:visual-studio-tips-1.md","content","blog/2006/visual-studio-tips-1.md","blog/2006/visual-studio-tips-1","md","/blog/2006/visual-studio-tips-1/",261,0,{"className":210,"src":90,"alt":91},[88,89],[212,216,220],{"title":213,"date":214,"url":215},"HTML5 Video Cheatsheet: Optimizing videos for the web","2025-12-05T00:00:00Z","/blog/2025/html5-video-cheatsheet/",{"title":217,"date":218,"url":219},"Transactions in the MongoDB EF Core Provider","2025-10-25","/blog/2025/mongodb-explicit-transactions/",{"title":221,"date":222,"url":223},"Queryable Encryption with the MongoDB EF Core Provider","2025-09-22","/blog/2025/mongodb-queryable-encryption/",[],1779264595504]