Needs to open Reference.cs after updating Web Reference

Resharper doesn't notice changes until the Reference.cs file of a web reference is actually opened in the editor.

Is this abug? (VS2003)

4 comments
Comment actions Permalink

Hello Mads,

This seems to be a bug indeed, I have already reported it a while ago and
it is in the tracker (http://jetbrains.net/jira/browse/RSRP-23588).

They have asked me to put a sample together, but since I'm no longer working
on the project where that bug occured, maybe you could provide them with
a sample? Although I think it's not that hard to reproduce, reference a webservice,
update the api of the webservice and update the web reference in VS.

Greetings,

Guy

Resharper doesn't notice changes until the Reference.cs file of a web
reference is actually opened in the editor.

Is this abug? (VS2003)



0
Comment actions Permalink

Guy,

If we could reproduce it, we would have fixed the issue long time ago.
Typically, when a bug of the kind is reported, the reporter's solution is a
little bit different than a standard one created from the scratch. And this
difference is the key to the problem.

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

This error is pretty easy to reproduce on my system:

1. Create a solution with two projects, one web service and one windows project
2. Add a reference to the webservice
3. Add a new method to the webservice and compile it.
4. Refresh the web service reference.

The new method is shown in red until you compile the project, or manually open the auto generated (and hidden) Reference.cs file. I'm using build 328.

Best wishes,

Dag Christensen

0
Comment actions Permalink

Dag,

Currently R# picks up changes that were made outside Visual Studio (wsdl.exe
in your case makes the change) only after you switch to another application
and back or if you open modified file, it is reloaded from the hard disk.
Sorry for inconvenience, hope, we'll fix the issue in the future.

--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.