Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why does Resharper not recognise my web references?

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

like image 359
Chris Gill Avatar asked Sep 01 '09 08:09

Chris Gill


1 Answers

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

like image 74
Chris Gill Avatar answered Sep 25 '22 15:09

Chris Gill