views:

261

answers:

2

I've just installed Resharper to do an evaluation on it. I have a solution with 28 projects in it and it seems to help with the coding and has pointed out several potential issues. However...

I've created several webservices (with in this solution) using the standard Visual Studio projects. I reference these webservices in other web projects - the code compiles fine and runs without problem. However, Resharper doesn't recognise these web references and treats them as errors. E.g. for a line of code referencing my ToolsWebService service as below

ToolsWS.ToolsWebService toolsWS = new ToolsWS.ToolsWebService();

I get an error

Cannot resolve symbol 'ToolsWS'

I can't post all of the code here - so I'm looking for any hints or tips that will pint me in the right direction

I'm using C# in Visual Studio 2005 with Resharper v4.5.1274.1


I've had to uninstall Resharper as I couldn't fix this issue. It stopped me from using Visual Studio for any classes using the web references. This is a shame because everyone seems to love Resharper

+1  A: 

Hi

R# has problems sometimes with the WebReferences.

Try Menu ReSharper --> Options --> General --> Clear Caches

sometimes it helps to restart Visual Studio as well.

gsharp
Tried this but didn't work. Do you think its to do with the Solution Wide analysis being on - I've seen some posts saying this has issues
Chris Gill
I don't think so. Have also a look here.. http://www.jetbrains.net/jira/browse/RSRP-58820
gsharp
A: 

I've had to uninstall Resharper as I couldn't fix this issue. It stopped me from using Visual Studio for any classes using the web references. This is a shame because everyone seems to love Resharper

I couldnt accept gsharp's answer as it didnt fix my issue - I have voted it up though. If anyone knows a better way I can resolve how I've closed this question, please let me know

Chris Gill