How to connect to a CodePlex TFS server using Visual Studio 2010 beta 1 – #040

Thanks to Martin Hinshelwood, a Team System MVP, for sharing the following workaround with all of us!

Excerpt below copied from solution-to-connecting-to-tfs-using-https-over-the-internet.aspx

This problem it seams is to do with the way Visual Studio 2010 connects to your TFS server over HTTPS. The default value for “BypassProxyOnLocal” in Visual Studio 2008 was “False”, but it has been changed to “True” for Visual Studio 2010 Beta 1. It should be noted that this is currently a Beta 1 workaround and this behaviour may be updated for Beta 2 and RTM.

You can fix this by adding the following registry keys and restarting Visual Studio 2010:

You need to add a “RequestSettings” key to both of the following location that contains a string value pair of “BypassProxyOnLocal=’False’”.

32bit OS Key Locations:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\TeamFoundationServer
\10.0\RequestSettings

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio
\10.0\TeamFoundation\RequestSettings

64bit key locations:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\TeamFoundationServer
\10.0\RequestSettings

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio
\10.0\TeamFoundation\RequestSettings

 

You can find out more on the “How to: Change the BypassProxyOnLocal Configuration” documentation on MSDN.

Technorati Tags: CodePlex Tips

DevDays 09 – 24 Visual Studio Tips

Tip #0 Know your Keybindings! General Development Settings

Searching Tips

Tip #1 How to behold the power of incremental search

Command: Edit.IncrementalSearch

Shortcut: Ctrl+i

Tip #2 Ctrl+F3 to search for currently-selected word

Command: Edit.FindNextSelected

Tip #3 F3 to search for last thing you searched for

Command: Edit.FindNext

Tip #4 Customize what files to find in

Find In Files – Look in – Choose Search Folders

Tip #5 You can use a reg hack for customizing search results

HKCU\Software\Microsoft\VisualStudio\9.0\Find String Find=$f$e($l,$c):$t\r\n

Editing Tips

Tip #6 How not to accidentally copy a blank line

Tools – Options – Text Editor – All Languages – General, Uncheck Apply cut or copy to blank lines

Tip #7 How to cycle through the Clipboard ring

Command: Edit.CycleClipboardRing

Shortcut: Ctrl+Shift+v

Tip #8 How to use box/column selection in the editor

Command: Edit.LineUpColumnExtend, Edit.LineDownColumnExtend, Edit.CharRightColumnExtend, Edit.CharLeftColumnExtend

Shortcut: Shift+Alt+Arrow

Tip #9 You can copy a file’s full path / open windows explorer from the file tab channel

Command: File.CopyFullPath

Tip #10 Drag and drop code onto the toolbox’s general tab

Shortcut: Ctrl+Alt+x

Tip #11 You can use Ctrl+. to show a smart tag

Command: View.ShowSmartTag

Tip #12 You can insert a snippet by pressing Tab Tab

Type in snippet shortcut, then press Tab Tab

Customizing Tips

Tip #13 You can create temp or throw away projects

Tools – Options – Projects and Solutions – General, uncheck Save new projects when created

Tip #14 Change text editor font size via keyboard (Accessibility macros)

Command: Macros.Samples.Accessibility.DecreaseTextEditorFontSize

Command: Macros.Samples.Accessibility.IncreaseTextEditorFontSize

Tip #15 How to open a file without any UI

Ctrl+/ (or whatever Tools.GoToCommandLine is bound to)

alias fo file.openfile

fo <filename>

Tip #16 Guidelines in the editor registry key hack

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Text Editor  String RBG(128,0,0) 5, 20

Tip #17 You can create a macro for your import/export settings

Tools – customize – commands – macros – drag and drop macro to toolbar

Tip #18 How to not show the start page (or have the last loaded solution open)

Tools – Options – Environment – Startup, At Startup

Tip #19 File tab channel registry hack

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0 key, you can create a DWORD UseMRUDocOrdering = 1

Tip #20 How to show Misc Files Project to keep your files around

tools – options – environment – documents, show miscellaneous files in Solution Explorer

Tip #21 Edit project file from within IDE (unload project)

Unload project, edit project, reload project

Debugging Tips

Tip #22 You can use tracepoints to log stuff in your code

Right-click in indicator margin, select breakpoints, select Insert Tracepoint

Tip #23 How to get the find source dialog back

Solution Properties, under Common Properties – Debug Source Files, Delete Do no look for these source files edit box contents

Tip #24 You can disable the exception assistant

Tools – Options – Debugging – General, uncheck Enable the Exception Assistant

You can assign work items to a planned release – #038

Yesterday’s tip discussed how to create a planned release. Today’s tip talks about how to assign work items to a planned release so that you can let your users know what you’re planning.

A planned release is treated the same way as any other release, so it will appear in the Issue Tracker just like any other release.

Releases in Issue Tracker - Advanced View

Technorati Tags: CodePlex Tips

How to create a planned release – #037

When I first got started in the OSS world, I learned that one of the best ways to encourage contributions is to plan releases based on when feature work is done. For example, if you say, “I plan to release version 2 on such and such date” users will sit back and wait for that date to download the release (well, that’s what I would do!) But, if you say, “I plan to release version 2 when features x, y, and z are done,” there’s a better chance of getting community collaboration on the project.

On CodePlex, you can create a Planned release to indicate your intensions of what you want to go out into a future release.

To do this, you’ll need to create a new release and mark the Development Status as Planning.

Development Status = Planning

Now your release will appear in the Planning section.

Planned Releases

Technorati Tags: CodePlex Tips

How to customize your CodePlex Work Item template, in a way – #035

Okay, you can’t really customize the work item template. But, CodePlex Work Items have a custom field that allows you to insert any text you want into the custom field.

work item custom field

For example, you could use this custom field as a Priority field, in case you’re using the Impact field for Severity. (Priority = when; Severity = how bad). Or you could use it to tag work items as a certain kind, like “UIbug” that i have above.

Then you can search against this custom field.

searching against custom field

Technorati Tags: CodePlex Tips

How to receive email notifications for work items – #033

sorry for the delay in the tips. Preparing for TechEd took a lot out of me. And the fact that it was sunny the past few weekends in Seattle didn’t encourage me to stay indoors.

Prior to the April 9, 2009 deployment, the only way for users to find out about updates to work items was through RSS. I’m one of those people who will give up email when you pry it from my hands.

If you are like me, you can now go to any work item and check the “Email me when…” checkbox at the bottom.

Mail notifications to track work item updates is our #3 most requested feature, but I haven’t closed it yet. Having individual work item notifications is just half of the fix, as this is really for visitors to the project. The other half of the fix is for project owners to receive a daily digest of newly-entered issues. When that is deployed, I’ll close this work item.

"Email me" text at bottom of work item

Technorati Tags: CodePlex Tips