{"id":249,"date":"2010-09-10T15:34:39","date_gmt":"2010-09-10T05:34:39","guid":{"rendered":"http:\/\/jcrawfor74.wordpress.com\/?p=249"},"modified":"2010-09-10T15:34:39","modified_gmt":"2010-09-10T05:34:39","slug":"create-visual-stuido-project-with-the-correct-directory-structure","status":"publish","type":"post","link":"https:\/\/ntsblog.homedev.com.au\/index.php\/2010\/09\/10\/create-visual-stuido-project-with-the-correct-directory-structure\/","title":{"rendered":"Create Visual Studio Project with the correct directory structure"},"content":{"rendered":"<div id=\"ntsbl-424258367\" class=\"ntsbl-before-content ntsbl-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-6288941070289539\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:728px;height:90px;\" \ndata-ad-client=\"ca-pub-6288941070289539\" \ndata-ad-slot=\"9356781486\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><p>This ones just for me.<\/p>\n<p>I have been using TFS and when I read the best practice documentation for how to setup your projects I have ended up having a preference for how i like my directory structure.<\/p>\n<p>Assume you have a project\u00a0 call BudgetForecast, I would\u00a0 end up with a folder structure like<\/p>\n<p>c:DevBudgetingProjectMainSourceBudgetForecastSource<\/p>\n<p>Under the BudgetForecast directory would be the BudgetForecast.sln and in the Source subdirectory would be the Project file.<\/p>\n<p>So how to get Visual studio to do that.<\/p>\n<ol>\n<li>Create a new solution<\/li>\n<li>Set the location to c:DevBudgetingProjectMainSource<\/li>\n<li>Set the Name to &#8220;Source&#8221; (this also sets the solution name)<\/li>\n<li>Set the SolutionName to &#8220;BudgetForecast&#8221;<\/li>\n<li>make sure the &#8220;Create Directory for Solution&#8221;\u00a0 is picked<\/li>\n<li>click OK<\/li>\n<\/ol>\n<p>Your soltuion is now created but your project is called source, so just rename to project to BudgetForecas, save that and your done.<\/p>\n<p>I wrote this as I can never remember whether Name or solution Name needs to be changed to source and invariably I get it wrong<\/p>\n<p>Cheers<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This ones just for me. I have been using TFS and when I read the best practice documentation for how to setup your projects I [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-249","post","type-post","status-publish","format-standard","hentry","category-visual-studio"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts\/249","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/comments?post=249"}],"version-history":[{"count":0,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/posts\/249\/revisions"}],"wp:attachment":[{"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/media?parent=249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/categories?post=249"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ntsblog.homedev.com.au\/index.php\/wp-json\/wp\/v2\/tags?post=249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}