Lubo Blagoev's Blog

My thoughts on software and technology

Visual Studio Whidbey/Orcas Tips


You are using Visual Studio for development right? Chances are that you have everything under one solution file. This includes the usual Class library projects, Web projects, Database projects (Data Dude rocks!), Console applications, Smart Client applications, Web Services, Unit Testing, Functional Testing, Silverlight applications just about anything from CLR stored procedures and Drivers to UI applications is under one solution file right? Well not exactly but you got the point. If you have this many projects at one solution file you need an easy way to navigate and find files in it. There are couple of ways you can ease your work.

  • First did you know that if you start typing a files name in solution explorer it will traverse down the tree and select the file that matches. It is the standard type-ahead support for all Windows list views and tree views controls.
  • If you need something more robust you can install SonicFileFinder free add-in. It works great and list all file names containing the search expression.

sonicFileFinderDialog

It also supports wildcards so you can type Ext*Methods for example. For complete list of features see features overview.

  • If you prefer open source you can look at Visual Studio Flat Solution Explorer. It doesn't allow to search by part of a file name though.
  • What if you are in a file and you want to navigate to it in solution explorer. Well that is natively supported. You just need to enable Track Activity In Solution Explorer feature. It is ON/OFF setting unfortunately so you should work either enabled or disabled and sometimes it is irritating since when you switch to the next tab in VS it will jump to the file in solution explorer which may not be your intend. That's why I think it is disabled by default. In any case you can use it by double clicking on it just for the matter of one-time sync. You can also assign a keyboard shortcut through Options->Environment->Keyboard.

TrackActivityInSolutionExplorer

If you want more tips and tricks I suggest you visit Sara Ford's blog (category Visual Studio 2005 Tip of the Week).

I hope this helps. Don't worry, be happy!

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

April 20, 2008 17:30 by lubo
Tags: ,
Categories:

Visual Studio 2008 released. Too early?


There is a buzz around the web these days. The long awaited Visual Studio 2008 is out. As usual the echo chamber is on going. Man there is so much noise about it that it will kill the sound of the fanfare. A quick search on blogs.msdn.com with the phrase "Visual Studio 2008 RTM" reveals more than 3000 post found.

I thought maybe wait until all this settles down and then post, but I was provoked. It seems to me that nobody ever subjects the releases coming from Microsoft. At least nobody is trying to see what's underneath the bits that have RTMed. So I downloaded Visual Studio 2008 readme file and start looking for clues. And I found some. If you look at the TOC of the file there is nothing more than system requirements and a big "Known Issues" chapter that hold various "little" issues. Some of them have workarounds and some of them don't. So let me pick up one or two.

2.1.2 If the computer goes into sleep mode or hibernation mode during Visual Studio installation,

Setup might hang when the computer returns from sleep mode or hibernation mode

Resolution: Just kill your install and start again. Please!

 

2.1.9. Installing Visual Studio 2008 on the same computer as Visual Studio 2005 causes Visual Studio 2005 repair of .NET Framework 2.0 to fail.

Fair enough for the side by side installation or whatever they called it.

 

2.1.12. Windows Automatic Update notification appears during Visual Studio installation on Windows Vista

Please restart your windows... But wait I am not finished yet... Never mind I want you to restart the machine for the changes to take effect...

 

Wait if you managed to install it now you are all alone since there are some issues on uninstall also. But the "Product Issues" are what strikes me more.

2.3.7.1. WcfTestClient may throw an exception if Biztalk Service SDK is installed. System.NullReferenceException: Object reference not set to an instance of an object.

2.3.3.1. Compiler displays an error message a lambda is passed to a doubly-nested latebound method call.

 

2.3.7.6. Managed C++ code generated by using the Service Model Metadata Utility tool (Svcutil.exe) may not compile.

2.3.8.2. Code Refactoring does not change XAML files.

2.3.8.3. Making changes to XAML will not refactor code files.

2.3.8.5. Using the Property Browser during debugging may cause Visual Studio to crash.

2.3.8.6. Visual Studio hangs or crashes when a XAML file that contains a ControlTemplate in a ResourceDictionary is being edited.

2.3.8.7. Visual Studio may hang when you bind to long ObjectDataProvider method calls. .....

 

Now what this means. If you look closely these errors represent critical issues with the product that require more time to fix than to be described as known issues and move along. This means that the developers needed more time to fix it but management stuff doesn't understood and preferred to ship now. From where comes the pressure I don't know, but I know that the official launch is scheduled for late January 2008. I guess the dev teams would have used that time to fix some of these issues especially the deployment related ones. But no "The Suits" have the final word. That's why I totally agree with Brian Harry (Blog)

We are also already planning Service Pack 1.  No, that does not mean that we shipped a ton of bugs - 
2008 was probably the highest quality release I've seen.  It means that we've turned another new leaf 
and committed to shipping a service pack within 6 to 12 months after every major release.  
There are always things you'll find that you want fixed.  And there are always new releases of 
other products for which we have to do work to support. 

 

I believe that VS2008 is the most stable release by now. I have worked on it since beta 2 now and we have a product almost finished using this beta. I am totally confident of the quality. Its just OK if you have used it like me, in a isolated VM environment and a pile of pain killers :). No really it is solid stable enough that's why beta 2 goes with go live license.

Constantly on Beta

I think that we are facing one strange pattern. We are using more and more tools that are in CTPs/Betas/RCs phases and when these tools are just  released we move on to switch to the other CTPs/Betas that are coming out. It is a requirement that we should obey if we want to stay on the verge of technologies. Or do we? Right now while every body are celebrating the new Visual Studio 2008 release there is a separate download for the next version Visual Studio Code Name Rosario (http://msdn2.microsoft.com/en-us/teamsystem/bb725993.aspx).  Yeah! Go grab it. Fire up a virtual machine and use it. Lets leave the Orcas RTM in the past.

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

November 20, 2007 18:17 by lubo
Tags:
Categories: