Saturday, February 14, 2009

Adding Visual Studio Solution to the File -> New menu in Windows Explorer (in XP)

I was at a .Net User Group meeting the other night listening to a presentation by Keith Elder on how to structure your Visual Studio Solutions and Projects. The presentation was great, and although we are using a slightly different method I did pick up a few things that we could use that would be helpful.

One thing that caught me during the presentation was Keith created the folder structure for the application in windows explorer and then opened visual studio and created a solution file. I can’t remember if he created it in the wrong location or had to move it to a different folder after Visual Studio created it, but at this point at light bulb went off in my head and remembered something I learned in JP Boodhoo’s .Net Boot Camp which was the ability to create a new solution from the File -> New menu in Windows Explorer. So here is how you do it:

1. Create a folder in the %WINDIR% called ShellNew if it doesn’t already exists.
2. In the ShellNew Folder add a file name Visual Studio Solution.sln the file should contain the text below.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

3. Open up regedit and go to HKEY_CLASSES_ROOT/.sln
4. Add a new key called ShellNew .
5. In ShellNew add a new string value with the name FileName and the value Visual Studio Solution.
6. Close explorer and reopen it. Click File -> New and you should now see Visual Studio Solution in the menu

Sunday, July 13, 2008

Goal List

I attended JP Boodhoo's .Net boot camp in April and I am finally getting around to making a list of goals. I have always had I pseudo list, but it has always been in my head and never down on paper. Not writing them down has allowed me to veer off course, so I thought with my first blog post I would start by writing down my goals for the next year. At least this will allow me to look back over the past year to see how I have done.

Read the following books:
1. Head First Design Patterns
2. xUnit Testing Patterns
3. Domain-Driven Design : Tackling Complexity in the Heart of Software
4. Patterns of Enterprise Application Architecture
5. Domain Driven Design Quickly (got a free e-Book on the Internet)
6. NHibernate in Action
7. C# in Depth: What you need to master C# 2 and 3

Do the following Technical Things:
1. Write an article on codeproject
2. Present to Little Rock .Net User Group
3. Get Started on my side project
4. Start getting Microsoft Certifications

Do the following non Technical Things:
1. Run at least 2 miles 3-4 times a week
2. Hike at least half of the Ouachita Trail