Vault Standard and Resharper do not play well together?

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

Moderator: SourceGear

Post Reply
rgelb
Posts: 7
Joined: Wed Nov 23, 2011 11:46 am

Vault Standard and Resharper do not play well together?

Post by rgelb » Wed Nov 23, 2011 12:12 pm

I am using Visual Studio 2010 SP with Resharper 5.1.x. Often (but not always), when I check in changes, Resharper gets all confused and marks everything as "Cannot resolve symbol".

I can't say for sure that this is a problem with Vault, but the behavior does not occur with TFS or Subversion. Can you look into this please? It is hugely annoying.

Btw, the tradition of Resharper and Vault not getting along goes way back: http://support.sourcegear.com/viewtopic ... 473#p44473

Also, related question on the Resharper boards:
http://devnet.jetbrains.net/thread/388284

Regards

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

Re: Vault Standard and Resharper do not play well together?

Post by lbauer » Wed Nov 23, 2011 2:59 pm

We haven't done extensive testing of Vault with Resharper. We did some work in Vault 4 to allow Vault to work better with Resharper, but there still appear to be other issues, like the one you've reported. I've logged bug 16081 in our bug tracking database. It will be evaluated for an upcoming release of Vault.

If you have steps to reproduce this, they would be helpful.
Linda Bauer
SourceGear
Technical Support Manager

rgelb
Posts: 7
Joined: Wed Nov 23, 2011 11:46 am

Re: Vault Standard and Resharper do not play well together?

Post by rgelb » Wed Nov 23, 2011 10:43 pm

lbauer wrote: If you have steps to reproduce this, they would be helpful.
Here is a repro. Load up a sizable solution with, say, 7-12 c# projects. Check out a couple of files, make changes, check them in. Upon the checking Resharper marks a bunch of things as "Cannot resolve symbol" and shows them as errors, even though everything compiles.

rgelb
Posts: 7
Joined: Wed Nov 23, 2011 11:46 am

Re: Vault Standard and Resharper do not play well together?

Post by rgelb » Tue Nov 29, 2011 1:46 pm

So can you investigate my repro?

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

Re: Vault Standard and Resharper do not play well together?

Post by lbauer » Wed Nov 30, 2011 11:49 am

I installed Resharper 6.0 to VS 2010. I loaded up a large open source C# solution called nopCommerce, which has 25+ projects and added it to Vault using Enhanced Client integration.

I modified a couple of files and checked them in. There were no errors.

Is there some configuration I need to do with Resharper?
Linda Bauer
SourceGear
Technical Support Manager

rgelb
Posts: 7
Joined: Wed Nov 23, 2011 11:46 am

Re: Vault Standard and Resharper do not play well together?

Post by rgelb » Wed Nov 30, 2011 2:07 pm

Linda,

This issue occurs with Resharper 5.1.

Regards

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

Re: Vault Standard and Resharper do not play well together?

Post by lbauer » Wed Nov 30, 2011 4:42 pm

I tried it again wthi Resharper 5.1, still no errors. What version of Vault are you using?
Linda Bauer
SourceGear
Technical Support Manager

rgelb
Posts: 7
Joined: Wed Nov 23, 2011 11:46 am

Re: Vault Standard and Resharper do not play well together?

Post by rgelb » Wed Nov 30, 2011 5:56 pm

lbauer wrote:What version of Vault are you using?
5.1.1 Standard

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

Re: Vault Standard and Resharper do not play well together?

Post by lbauer » Thu Dec 01, 2011 9:53 am

I'm using Vault 5.1.2. We did make a change to Visual Studio Enhanced Client to fix a bug when excluding a project. But I don't think that would change the Resharper behavior.

Is there some configuration I need to do with Resharper?
Linda Bauer
SourceGear
Technical Support Manager

rgelb
Posts: 7
Joined: Wed Nov 23, 2011 11:46 am

Re: Vault Standard and Resharper do not play well together?

Post by rgelb » Mon Dec 05, 2011 12:20 pm

I upgraded to Resharper 6.0 and the problem went away. Thanks.

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

Re: Vault Standard and Resharper do not play well together?

Post by lbauer » Mon Dec 05, 2011 12:46 pm

Thanks for the update. That's good news. : )
Linda Bauer
SourceGear
Technical Support Manager

Post Reply