Visual Studio 2010 Beta!!!

18. May 2009

Well for MSDN Subscribers, Visual Studio 2010 Beta is live and available.

Jason Short posted a blog over here about it.

Some of the new features he stated:

  • .Net 4.0
  • Cloud Development - Windows Azure which is basically utility computing where you pay by the hour for your usage.
  • Parallel Development - Not sure if this only means PLINQ for .Net developers or if they are only talking about C++ devs.  
  • TDD Improvements - Editor changes for building test cases first, and then writing the code.
  • ASP.NET - CSS grids and design surfaces changes, more Javascript debugging improvements.
  • C++ Compiler - Lots of changes for C++ development, including MFC.
  • Sharepoint templates 
  • New Project Templates
  • Windows 7 - MFC updates for Ribbon UI, and WPF changes.
  • Application Model Changes - Reverse existing codebases, and lots of changes in Architect Edition to support more model types (including Class Libraries finally).
  • Test Runner - This is potentially huge as it allows testers to submit bug reports complete with callstacks and traces that you can actually use to resume an app at the error point to avoid the dreaded No Repro on bug reports.

Here the offical site, and the VS 2010 MSDN Channel with videos.

 

The last feature, Test Runner, sounds awesome!

 

Visual Studio

Slow Closing of Visual Studio on Remote Web Projects

9. December 2008

Found this post, and though it would be worth noting for my development friends.

If you are experiencing slow project close, try switching off participation in the feedback program in  Help | Customer Feedback Options... dialog. If it does not help, try disabling component in registry by changing

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{2DC9DAA9-7F2D-11d2-9BFC-00C04F9901D1}

to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\Disabled-{2DC9DAA9-7F2D-11d2-9BFC-00C04F9901D1}

Troubleshooting, Visual Studio ,

Installed Visual Studio 2008 SP1 and started getting “Value does not fall within the expected range.” on trying to create a Unit Test.

7. November 2008

When I tried to create a unit test and expand my website to find the classes and namespaces.. I started to get "“Value does not fall within the expected range.” popup message. Well found the solution below, those they are doing it for a different reason it works nevertheless.

Found the solution here:

"...open the Configuration Manager from the Build menu, and for each of your website projects listed there, change its Platform to “Any CPU”.  Be sure to make these changes for each configuration type defined for your solution (e.g. Debug, Release). "

http://blogs.msdn.com/chrissc/archive/2008/08/22/vs2008-sp1-website-profiling-bug-and-workaround.aspx

Troubleshooting, Visual Studio ,

Debugging Timeout on Vista IIS7 with Visual Studio

2. September 2008

Well I've had this problem awhile.. where if you move over to Vista and IIS 7 you'll notice that your Debug sessions timeout very quickly, 90 seconds to be exact.

It's very annoying.  I had once went through my app pool changing every time value I found to something higher just to fix it for the moment, which is a bad idea. I usually like to know why something happens and figure how to fix it properly.

So I came across a forum article on asp.net written by jshallard.

Here is the solution for fixing your Debugging Timeout Issue:
I went with the first option, I like to debug forever

In IIS 7 go to the Application Pools and select the Advanced Settings for the pool which you process runs in. In the Process Model section you can do one of two things;
    * Set the Ping Enabled property to False. This will stop IIS checking to see if the worker process is still running and keep your process alive permanently (or until you stop your debugged process)
    * If you prefer to allow IIS to continue the monitoring process then change the Ping Maximum Response Timeout value to something larger than 90 seconds (default value).

Operating Systems, Troubleshooting, Visual Studio , , , , ,

TeamFoundation TFS Deleting / Solving Multiple Workspace Problem

29. January 2008

So you're setting up a new Workspace for Team Foundation and you get an error when you try and point a Source Control Project to a local folder that someone else was using as well..... Then you get the error message....

Error: "The working folder ... is already in use by another workspace on this computer"

I ran into this problem setting up a contractor's PC after the previous contractor using that PC had left.

The problem is you can't just go load up and delete workspaces unless your the owner. So in order to solve the problem I had to run a command line command for Team Foundation. Open Visual Studio 200x Command Prompt.

Tf workspace /delete developer05;<domain>\jsmith

 

To get that info I needed the owner name of the workspace and the workspace name. You can do

 

tf workspaces

  

You can find a list of Team Foundation (tf) commands here:

http://msdn2.microsoft.com/en-us/library/z51z7zy0(VS.80).aspx
You can see commands on that MS site, however the two most useful to me in this situation was listing the information, so I could see who was the other person blocking access, and then deleting it.

 

tf workspaces [/owner:ownername] [/computer:computername]
[/server:servername] [/format:(brief|detailed)]
 


tf workspace /delete [/server:servername] workspacename[;workspaceowner]

Note: Common mistake is to forget the domain name of the owner if you are on a domain. <domain>\UserName

Troubleshooting, Visual Studio, Developer Tools , , ,