thoughts on programming and computer related stuff RSS 2.0
# Friday, August 15, 2008
Ever needed to see who has files checked out? Here's a way to do it command line style.
tf status /user:* $/serverpath /r /s:http://server:8080

An example that works in my environment:
tf status /user:* $/sportsadmin/main /r /s:http://n3srvno04:8080

You do need to open Visual Studio Command Prompt to have the command tf.exe in path.

Friday, August 15, 2008 2:17:21 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
Team Foundation Server | Visual Studio
# Tuesday, August 12, 2008
The project I'm currently working on has a large codebase and it takes a while with precompilation and everything if I press F5 to start the project every time. I therefore started to attach and detach the debugger manually every time I needed to debug. This saves me tons of time since I don't have to log in and out of the application and find the place I need to debug every time something has to be debugged. A former coworker(http://www.labraaten.com/) also made this nice little macro to attach to w3wp.exe(aspnet_wp.exe in XP) automatically. Saves me even more time.

Imports System
Imports EnvDTE
Imports EnvDTE80
Imports System.Diagnostics
Public Module Module1
    Public Sub Attach_ASPNET_WP()
        Attach("w3wp.exe")
        Attach("iexplore.exe")
    End Sub

    Public Sub Attach(ByVal processName As String)
        For Each process As EnvDTE.Process In DTE.Debugger.LocalProcesses
            If process.Name.IndexOf(processName) <> -1 Then
                process.Attach()
            End If
        Next
    End Sub
End Module

I have added this macro as a shortcut that triggers every time I hit ALT-I. This can be set by pressing tools, Options, keyboard, locating your macro and add the shortcut.

Tuesday, August 12, 2008 1:18:07 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] - Trackback
.NET | Visual Studio
Navigation
Archive
<September 2010>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
262728293012
3456789
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
gaute
Sign In
Statistics
Total Posts: 17
This Year: 0
This Month: 0
This Week: 0
Comments: 1
Themes
Pick a theme:
All Content © 2010, gaute
DasBlog theme 'Business' created by Christoph De Baene (delarou)