Tim Hibbard

CEO for EnGraph software
posts - 626, comments - 1586, trackbacks - 459

My Links

News



Add to Google

Twitter












Tag Cloud

Article Categories

Archives

Post Categories

Image Galleries

EnGraph Blogs

Links

Other

Roll

Visual Studio

There are 26 entries for the tag Visual Studio
Visual Studio Team System Unit Testing Keyboard Shortcuts
I try to use keyboard shortcuts as much as possible. Here are some that are handy when unit testing with Visual Studio: Ctrl + R, A – Run all tests Ctrl + R, T – Run tests in context (based on if cursor is in function, class, or namespace) Ctrl + R, F – Runs all tests that are checked in Test Results – very handy because that window is impossible to navigate without a mouse Ctrl + R, Ctrl + A – Run all tests in debug mode Ctrl + R, Ctrl + T – Run all tests in context in debug mode Ctrl + R, Ctrl...

Posted On Tuesday, November 25, 2008 11:24 AM | Feedback (21) |

VS2008 code snippet for Properties that support INotifyPropertyChanged
This code snippet extends the functionality found in prop code snippet. It will populate the backing field in the property, check for equality in the setter and call PropertyChanged. It assumes you have a base class that handles the implementation of INotifyPropertyChanged. When the snippet is called, it will generate code that looks like this: private int myVar; public int MyProperty { get { return myVar; } set { if (!myVar.Equals(value)) { myVar = value; base.OnPropertyChanged("MyP... }...

Posted On Tuesday, November 18, 2008 2:19 PM | Feedback (2) |

Uninstalled VS2005 from TeamBuild machine
All of our projects that use TeamBuild are now being built with Visual Studio 2008, so to free up some much needed space on our server, I uninstalled Visual Studio 2005. Now all our builds are failing with the message: error MSB3147: Could not find required file 'setup.bin' in 'e:\b\Goldstar\gs_main\Sour... I found a thread on MSDN that suggested reinstalling the .NET SDK, so I'm trying that. Update: I had also uninstalled VS 2008 Team Suite trial, when...

Posted On Wednesday, May 07, 2008 4:28 PM | Feedback (1) |

VSTestHost.exe has stopped working
I keep getting this error in Visual Studio 2008 on Vista: I'm not sure what the issue is, but if you get this error, just stop the VSPerfMon.exe process and you can continue testing without rebooting your computer. Technorati tags: .NET, Unit Testing, VSTestHost, VSPerfMon...

Posted On Wednesday, February 20, 2008 2:02 PM | Feedback (4) |

VS 2008 - I want my prop snippet back!
For those of us that implement INotifyPropertyChanged on our state objects, the new Automatic Properties feature of Visual Studio 2008 hasn't been very useful. In fact, the snippet prop that used to create a private variable and associated public property has now been replaced by an Automatic Property. Thanks to a comment by SnYnE on this blog post, there is an easy way to get the functionality back. Simply create a new text file at:C:\users\*your user name*\Documents\Visual Studio 2008\Code Snippets\Visual...

Posted On Friday, February 08, 2008 1:58 PM | Feedback (6) |

Upgrading to TFS 2008 - Build server unavailable
After we upgraded our server to Team Foundation Server 2008, our builds were failing. To be more specific, our builds were failing for lots of reasons, but the first problem was that the build server was unavailable. We needed to stop the Team Build Service - the build service for TFS 2005 (and set the startup type to manual), before starting the Visual Studio Team Foundation Build service - the build service for TFS 2008. Technorati tags: TFS, Team Build, upgrade...

Posted On Tuesday, December 18, 2007 1:36 PM | Feedback (2) |

My favorite Visual Studio keyboard shortcut
I actually have two favorite keyboard shortcuts that I use all the time. When defining a class signature that will implement an interface or abstract class (class something : ISomethingElse), you can press SHIFT - ALT - F10 then ENTER after you populate the signature and it will populate the needed method signatures for you. I know it sounds a bit hairy, but you get used to it pretty quickly. My second favorite is CTRL - TAB to cycle through the open tabs in the IDE. This also works for any tab control....

Posted On Monday, May 07, 2007 9:04 PM | Feedback (7) |

Super Interfaces
I love using Interfaces. They are great for three reasons: They enforce that your code implements specific functionality You can pass around interfaces in your code and any object that implements that interface can be used as a parameter Visual Studio automatically populates the methods signatures in a class that implements you interface I wish there was more an interface could do. Like enforce a method to handle a specific type of exception. Maybe it could be done with attributes. Something that...

Posted On Friday, April 27, 2007 10:44 AM | Feedback (1) |

My TFS architecture problem
Update - Found a solution here I've had a problem ever since installing TFS, and I've not blogged about it yet because I wanted to figure out a good solution first. I haven't found the solution, so I'm hoping for some good advice from the brilliant GWB readers. We have quite a few dll's and controls that we reference from our applications. For example, we have our SQL Connection String control that lives in the EnGraph Controls team project. If I want to use the SQL Connection String control, I add...

Posted On Friday, February 16, 2007 4:23 PM | Feedback (4) |

How to create Team Foundation Server Group that can have tasks assigned to it
In a recent post, I talked about wanting a TFS group called ParaPlan_Stud that contained Kyle and myself that we could assign tasks to and view in our "My Work Items". Much thanks goes to Mickey Gousset, who wrote a book that you need to get, for helping me with this. Here is how we did it: Created Project Group call ParaPlan_Stud and added Kyle and myself to it. Edited Task.xml To access the Task, I had to edit the xml file that defines the task. Using the VS 2005 command prompt, I entered: witexport...

Posted On Wednesday, January 17, 2007 11:06 AM | Feedback (1) |

No VSTS For Developers yet
We were supposed to get Visual Studio Team Edition for Developers in the mail by the 20th of this month (Dec 06). It still hasn't come and I don't see it on MSDN. Time to get back on the phone with Microsoft. Technorati tags: VSTS, Tired of waiting...

Posted On Wednesday, December 27, 2006 9:09 PM | Feedback (1) |

Top six blog posts from Kyle in 2006
Most bloggers do some sort of self-gratuitous year-end post where they talk about all the great things they have blogged about over the last year. I tried to come up with a post like that, but I found that I only talk about Where's Tim. So instead, I thought I would pay homage to the greatest Director of Software Development that EnGraph has ever had - Kyle Archer. In no particular order, here are my top six posts from KJA this past year: EnGraph to attend n4a this summerMy Visual Studio Experience...

Posted On Tuesday, December 19, 2006 2:22 PM | Feedback (0) |

Using Authenticated SMTP server for TFS email alerts
I was having problems getting new tasks and build alerts from TFS. I found this post by Vertigo that gave me a great jump start. But, it didn't tell how to authenticate against our SMTP server. Based on a SWAG (Scientific Wild A** Guess), I added smtpPassword and smtpUser keys to the web.config. It worked like a champ and now our web.config in C:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Web Services\Services looks like this: ... <add key="emailNotification...

Posted On Wednesday, December 13, 2006 11:45 AM | Feedback (3) |

Do's and Don'ts of becoming Certified - Installing TFS
I've been chin deep in confusion the last week getting EnGraph to be official Certified Partners and installing Team Foundation Server. Luckily for me, there is a lot of good information online so I thought I would post a mini-guide: DO ask lots of questions to your Microsoft rep about becoming certified DON'T freak out when the partner's site opens 15 new Internet Explorer windows DO follow the competencies instructions as close as possible DO worry when you don't hear back from Microsoft after...

Posted On Friday, December 08, 2006 8:08 AM | Feedback (5) |

100% Code Coverage
A very cool thing just happened. One of my classes has a 100% next to it in NCoverExplorer. Granted it's pretty much just a data store for now, but it's still 100%! Heck yes, I'm agile. If you haven't downloaded TestDriven.net, go get it now. You can right click in Visual Studio and run NUnit, debug your tests and get code coverage statistics. Technorati tags: Code Coverage, TestDriven.net, NCover, NUnit, TDD...

Posted On Thursday, November 09, 2006 4:42 PM | Feedback (0) |

Publishing ClickOnce error on Vista
Brian Noyes talks about an error that I am going to get when publishing a ClickOnce app from a machine running Vista. When logged in to Vista as an admin, you still won't have full admin rights when running Visual Studio. The short answer is right click on devenv.exe, select properties, select compatibility tab and check "Run this program as an administrator". He goes into more details on the User Access Control (UAC) and when it is appropriate to run with full admin rights. Technorati tags: Brian...

Posted On Sunday, November 05, 2006 12:53 PM | Feedback (1) |

Kyle's rocking the VB.net
Kyle has finally started using Visual Studio .net for one of our new products! He talks more about it here

Posted On Monday, September 25, 2006 1:37 PM | Feedback (0) |

AJAX.net Demo Code
This article is from a talk I did for the Kansas City .net user group. It will show you how to use the AJAX.net library written by Michael Schwarz. Initial Setup: 1) Download dll from http://ajaxpro.info 2) Open Visual Studio and create a new web application 3) Add a reference to the AJAX.net dll 4) Modify your web.config to include: <system.web> <httpHandlers> <add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandler... Ajax"/> </httpHandlers>...

Posted On Wednesday, May 24, 2006 7:22 AM | Feedback (7) |

Installing a ClickOnce application from a cd
Sometimes you will want your clients to install your applications from a cd. Or they will not always have access to the internet. You can still use a ClickOnce application for this, and take advantage of the ClickOnce application updating features when they are connected to the internet. 1) Create your application in Visual Studio 2005 and enable ClickOnce security settings (My Project -> Security). 2) On the Publish tab of My Project, enter a folder on your computer as the Publishing location. 3)...

Posted On Wednesday, February 22, 2006 10:47 AM | Feedback (2) |

Webhost4life is driving me crazy
We host EnGraph.com and TimHibbard.com with WebHost4Life. They have always been good, but the last couple of days, I have been trying to move some our web services from the server in my living room to EnGraph.com. When I try to create a new web service in Visual Studio 2005, I get an authentication error. So I go to the webhost4life help desk, tell them the problem, they tell me to try again, so I try again and tell them it still doesn't work and wait 6 hours for them to tell me to try again. Repeated...

Posted On Saturday, February 18, 2006 9:13 AM | Feedback (0) |

Visual Studio 2005 on MSDN
Visual Studio 2005 Professional Edition is now available on MSDN Subscriber Downloads. The bandwidth is not too bad yet. Oh happy days :)

Posted On Thursday, October 27, 2005 9:14 AM | Feedback (0) |

Tired of defining structure properties
Can somebody please make a Visual Studio add-in that will define the properties of a structure, so that when I type: Public Structure Coordinates Private _lat As Double Private _lon As Double It will automatically create this: Public Property Lat() As Double Get Return _lat End Get Set(ByVal Value As Double) _lat = Value End SetEnd Property Public Property Lon() As Double Get Return _lon End Get Set(ByVal Value As Double) _lon = Value End SetEnd Property That would save me a truckload of time...

Posted On Friday, September 02, 2005 4:10 PM | Feedback (2) |

Visual Studio freezing up
I've been running into issues lately where Visual Studio 2003 freezes up and no matter how long I wait, I end up having to end the process. I'll just be going along and it will happen in mid-keystroke. I lost almost an hour of work yesterday!! I'm running Enterprise Architect with Source Gear Vault

Posted On Wednesday, June 29, 2005 4:09 PM | Feedback (3) |

VSTO 2005 with Outlook!
You can now create managed add-ins to outlook using Visual Studio Tools for Office 2005. This will make a lot of headaches go away...like this one. More info here. Linked from Paul Stubbs

Posted On Monday, June 06, 2005 11:19 AM | Feedback (2) |

Dev Con Recap
2005 KC Dev Con was good. The speakers were informed and the sessions got to the point quickly. There was the expected Microsoft spin...plugging VS 2005 and making sure we knew that EVERYTHING was being ran inside VirtualPC. There must have been a memo about it...We heard VirtualPC over 40 times I bet. I attended the Smart Client Track where Jon Box talked typed datasets, binding sources, background workers, as well as a bunch of cool stuff you can do with Visual Studio Tools for Office. I'm still...

Posted On Wednesday, June 01, 2005 11:06 PM | Feedback (1) |

VS 2005
The beta 1 release of Visual Studio is on the MSDN subscriber download page

Posted On Thursday, July 01, 2004 10:28 AM | Feedback (1) |

Powered by: