TFS and Visual Studio 2005 Cache Issues#

Sometimes when I need to re-sync my project source files in team foundation server, I have to delete the workspace and then get the latest project source files, but have always been frustrated that I have to get all projects from that tree even if it was from different branches.  Well one way to avoid that, at least within vista, is to delete the cache in your application data folder which caches you data in the folder:

C:\Users\Jim\AppData\Local\Microsoft\Team Foundation\1.0\Cache

 You may not have the same nave Jim, but you get the idea.  I think in XP it is something like C:\Documents and Settings\application data\blah\blah\blah.

Anyway, when you delete all the data and then delete the files where they are stored locally you will get a fresh latest without having to mess up the rest of you tree for other projects in the same structure.

Friday, August 31, 2007 8:14:27 AM UTC #     |  Trackback

 

Visual Studio 2008 beta 2 JavaScript Intellisense broken#

I was preparing for my session for Jacksonville Code tonight which is coming in a few days and noticed that my JavaScript intellisense no longer worked in Visual Studio 2008 beta 2.  Since part of my session requires that intellisense works and the fact that it is so much easier to write JavaScript, I was in a little bit of a panic.  I looked up the problem in Google and found this post, 

http://blogs.msdn.com/angus_logan/archive/2007/07/30/visual-studio-2008-beta-2-not-showing-your-javascript-intellisense-intellicode-syntax-highlighting.aspx

Basically two registry entries that must have gotten messed up when I uninstalled beta 1 and installed beta 2:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{014E9A41-54E5-44ED-B15E-EFFA8758BFFC}]

"CodeBase"=file:///C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\Microsoft.JScript.AuthoringServices.dll

and

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{014E9A41-54E5-44ED-B15E-EFFA8758BFFC}\InprocServer32\9.0.0.0]

"CodeBase"=file:///C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\Microsoft.JScript.AuthoringServices.dll

Gotta love the community! 

Thanks!

Friday, August 24, 2007 9:51:07 AM UTC #     |  Trackback

 

Tampa Users Group meeting on Subsonic#

For those of you in the Tampa area come check out my session on Wednesday about Subsonic here.

Using Subsonic to rapidly build your asp.net applications

Learn how to get your project from idea to prototype in hours instead of days using a killer open source toolset called Subsonic.  Subsonic is a toolset / code generation tool that helps a website build itself.  It not only generates your DAL for you but creates a very productive framework inspired by ruby on rails for asp.net.  The databases supported are SQL Server 2000 or 2005, MySQL, and Oracle.  I will go through many of the features and learned best practices from projects where I have used this toolset.   I will also try to build an app from scratch in about 15 minutes, but don’t even think it will be pretty.

If you have not used subsonic before you definitely will want to come check it out and see how powerful this tool is.  You can go to http://www.subsonicproject.com/ and check it out before hand and come armed with questions.  I have been using this since last December and have standardized on it with every web project so far.  Once you use it, it is hard to go back to using other code gen tools or creating your own DAL from scratch.  Does anyone still do that anyway?

Hopefully see you there!

Tuesday, August 14, 2007 10:17:42 AM UTC #     |  Trackback

 

TF80012 TFS error after installing Orcas beta 2#

After I installed Visual Studio 2008 beta 2 (Orcas) and the new TFS explorer, I was trying to export my tasks to an excel file from Visual studio 2005 and encountered this error:

TF80012Error

It says there is a problem with the installation of the Visual Studio 2005 Team Foundation Office integration components.   Luckily I was able to export the tasks to excel using Visual Studio 2008 beta 2, but now when I want to integrate with office and TFS I need to use the new beta.  I hope this is the only issue I run into, but I will keep you all informed as I run into issues.  Overall, I like the new beta, but am having a hard time figuring out when to make a new project use it as I will need to have all of my developers use it also for a particular project since we can't open the projects in both instances.

Wednesday, August 08, 2007 9:51:32 AM UTC #     |  Trackback

 

Practical Guide to Web Browser Testing for Ajax and CSS#

If any of you write web applications for larger clients you are probably starting to see the same issues I am.  There are too many browsers to support now!  Welcome to browser hell.  It is beginning to drive me crazy.  Here are the latest stats from w3 schools on browser usage:

Browser Statistics Month by Month

2007 IE7 IE6 IE5 Fx Moz S O
June 19.7% 37.3% 1.5% 34.0% 1.4% 1.3% 1.8%
May 19.2% 38.1% 1.5% 33.7% 1.3% 1.4% 1.7%
April 19.1% 38.4% 1.7% 32.9% 1.3% 1.5% 1.6%
March 18.0% 38.7% 2.0% 31.8% 1.3% 1.6% 1.6%
February 16.4% 39.8% 2.5% 31.2% 1.4% 1.7% 1.5%
January 13.3% 42.3% 3.0% 31.0% 1.5% 1.7% 1.5%

 

This especially becomes an issue when you are are writing bleeding edge apps using Ajax and silverlight and developing on a vista machine.  Well first you need a way to test IE 6.  I have given up on IE 5, but there is a decent solution for testing with IE 6 on vista or any other machine where you are already running IE 7.  See you can't run both browsers at the same time.  So I run virtual PC 2007 which is free.  They have a A VPC hard disk image containing a pre-activated Windows XP SP2, and either IE6 or IE7 and the IE7 Readiness Toolkit: Internet Explorer Application Compatibility VPC Image.  The VHD expires August 2007, but I bet there will be an update to the expiration date soon.

Now you have IE 6 ready to test, but what about the others.  Obviously you need firefox and might as well download safari for windows and Opera.  Now I realize that safari only says 1.3% above, but many of you may have a client that works on a mac, which I do.  So now I have to support Safari 2. whatever on the mac OS x.  Now this one is a pain to support.  I am trying to figure out how to do this currently and have come up with a couple of solutions.  First you are not allowed to create a virtual image of mac OS x using vmware or virtual PC because apple does not allow it.  I guess they want you to buy and ibook and virtualize vista. But I think I may have found a way to virtualize mac os x on vista.  I am going to try it this week and let you know how it goes.  It looks kind of painful so I may just use a paid service, browsrcamp, which offers a vnc connection to a mac.

So now we know what browsers to test and how, lets look at what libraries we should use for Ajax.  ASP.NET Ajax is one obvious answer.  It comes with built in support for all the browsers I have mentioned above and is fairly easy to use.  Now I am a little biased, but I also have worked with jQuery which is also a nice Ajax library and has a strong community also.

When you are running your tests if you regularly validate your html, you will save hours ahead of time before you run your manual tests.

Good luck and may the browser be with you!

Monday, August 06, 2007 10:46:39 AM UTC #     |  Trackback

 

 

All content © 2014, Jim Zimmerman
Book
New Book
Links to me
On this page
Sponsors
Calendar
<April 2014>
SunMonTueWedThuFriSat
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910
Archives
Tags
Blogroll OPML
Technorati
Favorite Links
Disclaimer

Powered by: newtelligence dasBlog 1.9.6264.0

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

Send mail to the author(s) E-mail