Friday, December 6, 2013

Use IIS redirect for TFS

By default the TFS setup creates on your IIS Default Web Site an application named TFS. In most setups I’ve seen so far, the used IIS is only used by TFS so why not use HTTP Redirect for your TFS application?

The typical scenario looks somehow like this:

TFS is installed on a virtual machine, inside Default Web Site, nothing else installed on Default Web Site.
DNS-Name is something similar to https://tfs.<domain>.com
TFS webaccess Url is similar to https://tfs.<domain>.com/tfs
If you browse https://tfs.<domain>.com you’ll get an 403 error, not authenticated.

Would be fine if the default domain would redirect to the TFS application like this:

On your Default Web Site go to Http Redirect: image

In the screenshot below you can see how the redirect should be configured

image

Wednesday, December 4, 2013

MSBuild–Visual Studio project template

Based on the ide of Sayed Ibrahim Hashimi’s blog post about “Hijacking the Visual Studio Build Process” I’ve created a small Visual Studio project template for custom MSBuild based projects which you can find in the Visual Studio gallery.image

Why should I care about it?

  • Build/Rebuild/Clean inside visual studio without switching to the command line
  • Easier to maintain files inside a project than inside “solution files”
  • IntelliSense
  • Source control integration
  • Visual Studio editor experienceimage

The first screenshot is showing you how the project experience will look like. You can see the green + sign which indicates that this project was added to source control but not yet committed/checked-in.

The second screenshot shows you how IntelliSense can look like, I’m using ReSharper so maybe on your machine it can look a little bit different. 

VSGallery: MSBuild Empty Project Template

Tuesday, December 3, 2013

Override the TFS Team Build OutDir – Part 2

I’ve already written about the MSBuild workaround using the property switch:

/p:GenerateProjectSpecificOutputFolder=true

You can read more about this here

But what is better than a workaround?

Windows 8.1 + OneNote – fix shortcut for screen clippings

With Windows 8.1 update, Microsoft added the new shortcut for Win + S to “search everywhere” (with bing, maybe we should call it: bing it).

In the past this screenshot was used by Microsoft Office OneNote to take screen clippings. Sometime it really takes lot’s of time to fix a bug like this …

But there is a workaround –> regedit for Win + A alternative

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\OneNote\Options\Other]
"ScreenCLippingShortcutKey"=dword:00000041

Source: http://blogs.office.com/b/microsoft-onenote/archive/2013/06/27/try-windows-8-1-preview-and-bring-back-your-favorite-shortcut-key.aspx

Monday, December 2, 2013

5 minutes to cleanup your context menu from overloaded git commands …

imageHow many git tools have you installed? Is your context menu overloaded like on the screenshot to the right? Git for Windows, Git Extensions, tortoisegit and other tools are creating lots of redundant command menu entries. Most of the time you won’t need multiple ways of doing a fetch or a command or even want to do all the stuff from the commandline. Take time to cleanup unnecessary stuff from your developer machine and because there will be the nice side effect of faster opening context menus.

But how, lets continue here …