BUG? Adding resource files crashes Visual Studio

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
dai-bok
Posts: 3
Joined: Fri Oct 30, 2009 5:46 am

BUG? Adding resource files crashes Visual Studio

Post by dai-bok » Fri Oct 30, 2009 6:07 am

Hi,

I am working on a multilingual site, in Visual studio 2009. When I add my project to Fortress, and start to use resource files, fortress causes Visual studio to crash.

To Replicate the error/BUG:
1 - Create a default ASP.NET Web application
2 - Add the project to Fortress repository
3 - Add ASP.NET Folder and select App_LocalResources
4 - Rightclick on App_LocalResources and add new Item, select Resources File, and give it a name, I used Default.aspx.resx
5 - In the resources file, Click to rename "string1" => Visual Studio Crashes

Can anyone else get this to happen and confirm it? Does anyone have a solution for this? Are there some config files I can tweak?

Thanks
David

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: BUG? Adding resource files crashes Visual Studio

Post by lbauer » Fri Oct 30, 2009 8:59 am

Are you using Visual Studio 2008 or 2010? There is no VS 2009.

What version of Fortress are you using?

Let us know, and we'll try to reproduce this.
Linda Bauer
SourceGear
Technical Support Manager

dai-bok
Posts: 3
Joined: Fri Oct 30, 2009 5:46 am

Re: BUG? Adding resource files crashes Visual Studio

Post by dai-bok » Fri Oct 30, 2009 10:30 am

Hi Sorry,

Its Visual Strudio 2008 Version 9.0.30729.1 SP
Fortress Client 2.0.1 (18729)
The vault server is VaultServer 4.1

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: BUG? Adding resource files crashes Visual Studio

Post by lbauer » Fri Oct 30, 2009 1:16 pm

Thanks for the detailed steps. I was able to reproduce this crash.

After I reopened Visual Studio, and checked in the project file, everything seemed to work OK after that. Was that your experience as well?

I'll have a developer take a look at this to see if there's a workaround until we can get this fixed.
Linda Bauer
SourceGear
Technical Support Manager

dai-bok
Posts: 3
Joined: Fri Oct 30, 2009 5:46 am

Re: BUG? Adding resource files crashes Visual Studio

Post by dai-bok » Mon Nov 02, 2009 6:12 am

Glad you could reproduce the bug!

At the moment, we add all the resource files, then save the project, check in and close visual studio (Maybe this part is not needed?). We then restart VS, and only then do we start to edit the resources files.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: BUG? Adding resource files crashes Visual Studio

Post by lbauer » Mon Nov 02, 2009 8:56 am

A workaround is the close the document (not Visual Studio entirely, just the resource document) and re-open it before editing it.

We plan to have this fixed for the next maintenance release of Fortress/Vault.
Linda Bauer
SourceGear
Technical Support Manager

Post Reply