Author's posts
Sep 02 2011
Disable C# “var” Recommendation in ReSharper
I have been trying to use type names instead of “var” in my C# code lately. However, ReSharper wants me to convert every type name in a declaration to “var”. The squiggles under my type names were driving me nuts, so I decided to dig into the settings to turn this off. To disable these …
Aug 20 2011
Where to Store Your PowerShell Profiles
I recently decided to get on the PowerShell bandwagon again (after starting many times and then forgetting “everything”), so I went to Scott Hanselman’s blog about using the Visual Studio environment from the PowerShell prompt. I followed everything in his article except where I was supposed to store my profile (i.e. startup script) for PowerShell. It …
Aug 15 2011
Using EF 4.1 Code First without SQL Express
I began following Julie Lerman’s excellent tutorials on getting started with Entity Framework (EF) version 4.1 and the Code First technique of generated databases on the MSDN web site. However, the defaults for Code First expect you to have SQL Server Express installed for the examples to work. I was able to get EF Code First to …
Aug 12 2011
Where TFS Connections Are Stored
I am migrating from one dev machine to another and wanted to export/import my TFS connections for Visual Studio 2010. It turns out they are all stored in the following registry key:
1 |
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\TeamFoundation\Instances |
If you’re looking for the Visual Studio 2008 entries, they are located here:
1 |
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\TeamFoundation\Servers |
Rob
Jul 29 2011
WCF Test Client
Every time I set up Visual Studio on a new machine, one of the first things I do is add the WCF Test Client tool to the Tools menu. This tool lets you call methods on your WCF web services to test them. It can be found here:
1 |
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\WcfTestClient.exe" |
Rob