Blog Home  Home Feed your aggregator (RSS 2.0)  
Accentient - Thursday, January 08, 2009
Visual Studio ALM Experts
 
# Thursday, January 08, 2009

Some Team System users are complaining about problems with the Team Members feature included in the Team Foundation Server Power Tools – October 2008 Release. For team projects with many members, the load time can be excessive. Other problems have cropped up as well. For instance, one user reported that their Windows Communicator freezes during long TFS operations like “get latest”. Although the Team Members plug-in has some very useful features, you may find that it’s more trouble than it’s worth for your particular situation. In this case, you have two options:

Option 1: Disable the Team Members feature. In the Visual Studio, navigate to Tools –> Options –> Team Foundation Server Power Tools –> General, then set Team Members to False.

image

This does not remove the Team Members node from your team projects in Team Explorer, but the node no longer does anything. Also, some of the Team Members start-up logic still executes. If this continues to cause problems for you, then try this more drastic fix:

Option 2: Registry hack. This is a more complete way of disabling the TeamMembers feature, but it cannot be done in the Visual Studio IDE.  Using the RegEdit utility, navigate to:

HKCU\Software\Microsoft\VisualStudio\9.0\TeamFoundation\PowerTools

Add a new String Value named TeamTrackerHidden and set its value to True

image

This setting tells the Team Explorer to not load the Team Members plug-in.  This will cause the Team Members node to appear as a folder with a red X on it, which is mildly annoying. However, this option will definitely eliminate any issues you’re having with the Team Members feature.

(Thanks to Bill Essary @ Microsoft for providing these work-arounds)

Thursday, January 08, 2009 4:02:38 PM (Mountain Standard Time, UTC-07:00)  #    Comments [1]   Martin Danner | Team System | Visual Studio 2008  | 
# Wednesday, December 31, 2008

Recently I was working with a client who installed the Team Foundation Client 2008 on his workstation, and subsequently decided to install Visual Studio 2008 Development Edition. The installation completed normally, but when he launched Visual Studio he quickly discovered that some important things were missing.

Image1 

For instance, the File menu was missing the New Project item. It was as if the we were still looking at the Team Foundation Client, and that the installation of the Development Edition had somehow failed. At first this was very puzzling until a sharp developer suggested that we look at the Settings (Tools –> Import and Export Settings)

Image2 

Image3

Image4

Image5

Sure enough, Team Foundation Client had installed and automatically selected the setting called Project Management. Although the Development Edition installation added a few more settings, it left the selection unchanged. Once we changed the selection to something more appropriate, all the normal menus became visible. Mystery solved!

Wednesday, December 31, 2008 9:01:14 AM (Mountain Standard Time, UTC-07:00)  #    Comments [3]   Martin Danner | Team System | Visual Studio 2008  | 

Kevin Hick, a talented .NET developer who has done extensive work customizing Team Foundation Server at HBOS in the UK, has started a blog to share some of his more interesting TFS discoveries with the rest of us. You find his blog here. If you work with TFS you’ll want to add Kevin’s blog to your reader.

Wednesday, December 31, 2008 12:09:55 AM (Mountain Standard Time, UTC-07:00)  #    Comments [0]   Martin Danner | Team System  | 
# Monday, December 29, 2008

Brian Randell recently announced the availability of new Visual Studio Team System evaluation VPC images. These virtual machines are very handy sandboxes that contain Team Foundation Server and Team Suite, all setup and ready to go. You can use these virtual machines not only for evaluating purposes, but also for learning about Team System and experimenting without worrying about messing up things.

These virtual images are set to expire in December 2009, providing a full year of use. The set consists of four versions:

Use the links above to navigate to the download pages for these virtual machines. But, if you prefer not to download eleven massive files one at a time, you can use Free Download Manager to queue up and download all the files automatically.

fdm

The text file below contains a list of the files to download for each virtual image. Simply copy the list for the image you want, then paste the list into Free Download Manager using Ctrl-Shift-V.

Team_System_2008_SP1_Trial_Image_Download_List.txt (5.93 KB)
Monday, December 29, 2008 11:16:02 PM (Mountain Standard Time, UTC-07:00)  #    Comments [0]   Martin Danner | Team System | Virtualization  | 

This article lists the steps I used to setup Windows Server 2008 (WS2008) Standard Edition as a workstation operating system on two different laptops.

First, if you plan to use WS2008 and Hyper-V to run virtual machines on a laptop, you’ll get best results if your laptop meets these criteria:

  • Processor that supports hardware virtualization (required for Hyper-V)
  • At least 4GB memory (8GB if you want to run multiple virtual machines simultaneously)
  • Fast internal hard disk (I’m using a 320GB 7200 RPM SATA drive)

I should also mention that I’m using WS2008 for running virtual machines in Hyper-V, and also for email, web-browsing, word-processing, spreadsheets and presentations. That’s it. Since Hyper-V performance is of primary importance to me, I don’t install the Vista-like Desktop Experience feature or tweak processor scheduling to improve media playback.

Now, here are the specific step to install WS2008.

1. If you’re replacing an existing operating system that you’ve already been using, then backup anything you want to save to an external drive. The folders I backed-up include:

a. C:\Users\{your username}

b. Project folders

2. Gather drivers for your laptop. Vista x64 drivers should work just fine.

 

3. Run the Windows installation

a. Create 2 partitions

    i. A 40GB partition called RECOVERY, for backups
    ii. All the rest goes to another partition SYSTEM

b. Install WS2008 on the SYSTEM partition

4. After the WS2008 installation completes, log on as Administrator and run Windows Update multiple times until there are no more Important updates to install.

 

5. Using the Server Manager app, add the following Role: Hyper-V.

 

6. Using the Server Manager app, add the Features you want. Here are the features I found useful:

a. Telnet Client (useful for testing ports and what have you)

b. Windows Server Backup

c. Windows Powershell

d. Wireless LAN Service

7. If you want to remove Internet Explorer Enhanced Security:

a. Using Server Manager, go to the Security Information section of the summary page and click on “Configure IE ESC”. Adjust settings to personal preference.

8. If you are not installed WS2008 SP1 (Build 6001), you may need to install the RTM version of Hyper-V. Download it from here.

9. Install your office productivity software.

 

10. Run Windows Update, install everything not marked Optional.

 

11. Using Windows Backup, backup the C: drive to the RECOVERY partition.

 

12. Using the Hyper-V Manager, available through the Server Manager, setup your virtual machines on Hyper-V.

 

13. Use this nifty converter tool to further configure the OS. Options I installed are:

a. General

    i. Set owner information

    ii. Disable IE Enhanced Security Configuration

b. Visual Tweaks

    i. Disable ctrl+alt+del at Windows Startup

    ii. Disable Shutdown Event Tracker

c. Network

    i. Enable Wireless Networking

d. Other

    i. Enable Windows Search Service

Gotchas

  • Since Hyper-V is a service that’s always running, it’s more difficult to use VHDs on an external drive. I’ve been told that it is possible to unmount an external drive containing a VHD used by a Hyper-V virtual machine, but I’ve not yet figured out how.
     
  • The Hyper-V role disables sleep mode and hibernate. I’ve seen some blog posts that describe a registry hack to enable sleep mode. But from what I’ve gathered it introduces system instability, so I’m willing to go without these handy features. More info here.
     
  • It used to be that you could not install Windows Live Messenger or Windows Live Writer directly. But I’m pleased to report that the Windows Live installer now fully supports Windows Server 2008!
     
  • If you install the Desktop Experience feature (I didn’t – don’t want to waste CPU cycles on it), Windows Vista desktop is not enabled by default, and it’s not at all clear how to get it setup. Here’s a great blog post that walks you through the process.
     
  • Here is another excellent blog post on tweaks to make Windows Server 2008 a better desktop OS.
     
  • Virtual machines configured to run on Virtual PC will need to be reconfigured to run on Hyper-V. This blog post walks through the process.
Monday, December 29, 2008 12:23:08 AM (Mountain Standard Time, UTC-07:00)  #    Comments [0]   Martin Danner | Virtualization | Windows  | 
# Saturday, December 27, 2008

Way back in July I wrote a blog post explaining why I switched from Windows Vista to Windows Server 2008 (WS2008) as the primary OS for my laptop. Well I’ve lived with WS2008 for a few months now, and although there are more than a few inconveniences associated with it, I still think the advantages outweigh the disadvantages, at least for the work that I do. As I installed WS2008 on my laptop I made notes, thinking this might be useful information, not only for the next time around, but also to share with my compatriots in the blog-o-sphere.

I recently purchased a Dell XPS M1530 laptop with all the bells and whistles: T9300 processor, 4GB RAM, 320GB 7200 RPM internal SATA drive, and hi-res glossy widescreen display. This time I decided to leave Windows Vista on the machine to play games and movies and enjoy all the other consumer candy that comes with it. So, I installed WS2008 in a dual-boot configuration, with WS2008 being the default OS. To do this, though, I had to make room on the internal hard drive. I wanted to devote as little space to Vista as possible because I didn’t expect to use it much. Vista was consuming about 15GB, so I figured that shrinking it’s partition down to 30GB would be more than sufficient. Much to my surprise though, the Disk Management utility in Vista was not willing to shrink the volume below 150GB. WTF!

A bit of investigation lead me to this article. Based on its advice I defragged and optimized the volume using a 15-day free trial of Perfect Disk 2008. But some system files simply refused to move from the middle of the Vista volume. So, I did what any rational person would do: give up. I ended up with a 150GB Vista partition with gobs of free space. Arggh. As it turns out though, the Vista volume mounts as drive D in WS2008, so I decided to use all that extra space in the Vista volume (drive D) to store the huge virtual hard disk files (VHDs) for the Hyper-V virtual machines I would be installing later. Problem solved!

The WS2008 installation went smoothly. The WS2008 installer even set up the dual boot menu to appear on startup, with WS2008 as the default selection. Perfect!

In the next installment I’ll share the steps I used to install and configure Windows Server 2008 Standard Edition as a laptop OS.

Saturday, December 27, 2008 4:00:57 PM (Mountain Standard Time, UTC-07:00)  #    Comments [0]   Martin Danner | Virtualization | Windows  | 
# Tuesday, December 23, 2008

I recently had to go through the process of installing Visual Studio 2008 with a team getting ready to use Visual Studio Team System and Team Foundation Server. Further, I have been tinkering with Silverlight 2 recently and this has even more tooling around it.

Based on this experience, I thought I would outline the installed components. You'll see that it takes awhile to get through all of this.

Keep in mind, this is the install for the client side. Not the server or the build machine.

  1. Visual Studio Team System 2008 basic install.
    This can be Team Suite, Developer, Tester, whatever. See your MSDN subscription or DVD media for this.
  2. Team Explorer 2008
  3. Visual Studio Team System 2008 Team Foundation Server Power Tools
  4. Visual Studio 2008 SP1
  5. Expression Studio
    Hopefully you get this with your MSDN subscription, but if not you can get some love here.
  6. Microsoft® Silverlight™ Tools for Visual Studio 2008 SP1
  7. Microsoft Expression Blend™ 2 Service Pack 1
  8. Deep Zoom Composer
  9. The Silverlight Toolkit
  10. ReSharper

Whew. Did I miss anything? The kitchen sink?

Tuesday, December 23, 2008 10:10:33 PM (Mountain Standard Time, UTC-07:00)  #    Comments [3]    | 
# Monday, December 22, 2008

Getting a virtual machine connected to the outside world in Hyper-V is a non-intuitive process. I had to bumble around with it a bit before finding the secret combination that worked well. Before I show you how it’s done (or at least one way of doing it), here are a couple of things to keep in mind:

  • When you add the Hyper-V role to Windows Server 2008, Hyper-V more or less takes over the physical computer and Windows Server 2008 becomes a virtual machine running in a special space called the home partition.
  • Hyper-V uses the concept of virtual networks. It’s as if your computer magically ingested a Netgear network switch, you know, that little blue box with lots of blinking lights on one side and network cable plugs on the other, which you use to create a home computer network. That’s right, the brilliant folks at Microsoft figured out how to suck one of those network switched right into their server operating system (I’m not sure, but I think they’re using Wonkavision technology to do it). Not only is the network switch virtualized, but all the cables to connect to it are virtualized as well. Now that’s handy.
  • Hyper-V implements three types of virtual networks: external, private and internal. An external virtual network gives virtual machines direct access to a physical network adapters on the physical computer. In effect, the virtual network shares the physical network adapter with the parent operating system (the Windows Server 2008 originally installed on the computer). A private network is used to connect two or more virtual machines running on the same physical computer to one another. An internal network is just like a private network, except it includes the parent operating system as well.
  • A virtual machine connects to a virtual network through a Hyper-V network adapter. Yep, you guessed it – a Hyper-V network adapter is virtual as well. Each virtual network adapter can connect to only one virtual network. However, a virtual machine can have multiple virtual network adapters, with each adapter connected to a different virtual network.
  • You can create any number of virtual networks and virtual network adapters in Hyper-V, limited only by how much load the hardware can support.
  • You cannot create an external virtual network that connects to a wireless network adapter. Sorry, the folks who created Hyper-V simply decided not to go there. Fortunately there’s a simple workaround that I’ll show you in this post.

Let’s say you want to configure your virtual machine to automatically use the physical network adapter whenever it’s plugged into a live connection, and also use a wireless connection when the physical network adapter is not plugged in. Here’s how you do it:

Step 1. Setup your Virtual Networks

This procedure assumes that you are running Windows Server 2008 on a computer that supports hardware virtualization, and that you are logged into an account that is a member of the Administrators group.

  • Launch the Hyper-V Manager

Create an Internal virtual network

  • In the Actions menu, click on Virtual Network Manager
  • In the box labeled “What type of virtual network do you want to create?” select Internal. Click the Add button.
  • In the New Virtual Network dialog box, enter the following:
    - Name: Internal Virtual Network (wireless)
    - Connection type: Internal Only
    Click OK

Create an External virtual network

  • Click on Virtual Network Manager
  • In the box labeled “What type of virtual network do you want to create?” select Internal. Click the Add button.
  • In the New Virtual Network dialog box, enter the following:
    - Name: External Virtual Network (wired)
    - Connection type: External
        Select the network adapter you want to use in the drop-down list
    Click OK

    The Virtual Network Manager should look something like this:

    image

Step 2. Setup the Wireless Network Connection for Sharing

This step is the secret ingredient that allows a Hyper-V virtual machine to access a network connection through the physical computer's wireless adapter.

  • Switch over to the parent operating system; i.e., the Windows Server 2008 originally installed on the physical computer.
  • Launch the Network and Sharing Center
  • Click on Manage Network Connections
    Note that there is a new network connection for each of the virtual networks you created in Step 3.

    image
  • Right-click on the Local Area Connection that shows “Internal Virtual Network (wireless)” below its name. Select Rename. Give it the name “Internal Virtual Network Connection”
  • Right-click on the Local Area Connection that shows “External Virtual Network (wired)” below its name. Select Rename. Give it the name “External Virtual Network Connection”
  • Right-click on your Wireless Network Connection and select Properties
  • Click on the Sharing tab
  • Select the checkbox labeled “Allow other network users to connect through this computer’s Internet connection”

    image


  • Click OK
    Your Network Connections list should now look something like this:

    image

Step 3. Connect a Virtual Machine to the Virtual Networks

The procedure can only be performed on a virtual machine that is turned off. Do this for each virtual machine you want to connect to the external world.

  • Switch to the Hyper-V Manager
  • Select the virtual machine you want to configure.
  • Click on the Settings link
  • In the Hardware list, click on Network Adapter
  • In the Network Adapter properties pane, select Internal Virtual Network (wireless). Click the Apply button
  • In the Hardware list, click on Add New Hardware
  • In the Add Hardware properties pane, select Network Adapter, then click the Add button
  • Back in the Hardware List, click on the Network Adapter marked “Not Connected”
  • In the Network Adapter properties pane, select External Virtual Network (wired). Click the Apply button.
    The Hardware list should now contain these two entries:

    image

  • Click OK to complete the configuration.

Step 4. Give it a Whirl

  • Verify that the parent operating system has Internet connectivity
  • Start the virtual machine
  • In the virtual machine, log on, open a web browser and browse to your favorite web site.

Your virtual machine should now have total Internet connectivity!

Monday, December 22, 2008 10:41:28 AM (Mountain Standard Time, UTC-07:00)  #    Comments [3]   Martin Danner | Virtualization | Windows  | 
# Thursday, December 11, 2008

I finally took the time to put together a chart showing which edition of Visual Studio needs to be installed on the Team Build server to achieve specific features. As you can see, Team Suite has you covered. As for the question of whether or not you need to purchase an additional copy of Visual Studio for this - that question has been answered on Jeff Beehler's blog as well as in the VSTS 2008 Licensing White Paper.

TFBVS

I might also add that Brian Randall mentioned that you can automate the validation of Architect Edition Deployment Diagrams on the Team Build server if you install that edition; but, being that he's the only guy on the planet to probably do that, I didn't think it was worth mentioning.

Thursday, December 11, 2008 9:58:48 AM (Mountain Standard Time, UTC-07:00)  #    Comments [2]   Richard Hundhausen | Team Foundation Build | Visual Studio 2008  | 
# Monday, December 01, 2008

What?

Increasing Your Agility with Scrum and Visual Studio Team System

When?

12/12/2008
9:00 AM - 12:00 PM

Where?

Microsoft Corporation
401 West Front Street
Suite 400
Boise, ID 83702

Why?

Martin Danner, Richard Hundhausen, and I are teaming up to bring you a 4 hour introduction to Scrum and the supporting capabilities of Team System. This is a free event, open to the public, and is sponsored by Microsoft.

My hope is that we can provide value from 3 different perspectives.

  1. Learn the basics of Scrum
  2. Learn the basics of Team System
  3. Learn how Team System can support Scrum teams

Sign up via the link above. I hope I see you there.

Monday, December 01, 2008 3:55:25 PM (Mountain Standard Time, UTC-07:00)  #    Comments [1]    | 
Copyright © 2010 Richard Hundhausen. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: