History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-34994
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Sergey Coox
Reporter: Dag Christensen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Web solution display incorrect "cannot resolve" errors

Created: 30 Jan 07 11:09   Updated: 09 Feb 07 19:56
Component/s: None
Fix Version/s: 2.5.2
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File resharper.log (40 kb)
2. Zip Archive WebSite.zip (17 kb)

Image Attachments:

1. screenshot-1.jpg
(151 kb)

Build: 343
Fixed in build: 350


 Description  « Hide
1. Open the attached solution (App_Code/Service.cs should be open in the editor)
2. Rebuild ClassLibrary1
3. Build WebSite3
4. Wait a few seconds, Class1 is highlighted in red with an error saying "Cannot resolve symbol 'ClassLibrary1".

 All   Comments   Work Log   Change History      Sort Order:
Dmitry Shaporenkov - 30 Jan 07 14:40
Hi Dag,

unfortunately we've failed to repeat it. May be we need to repeat these steps several times? Also, could you please attach ReSharper log captured after the moment the references have become red? Thanks.


Dag Christensen - 30 Jan 07 15:03
I sometimes have to repeat the steps a few times for the bug to appear.

On my first attempt to reproduce the bug on my own box, I repeated the steps 5-6 times followed by Visual Studio crashing. The crash dialog box offered me to debug, revealing this exception:

System.InvalidOperationException was unhandled
Message="Collection was modified; enumeration operation may not execute."
Source="mscorlib"
StackTrace:
at System.Collections.Hashtable.HashtableEnumerator.MoveNext()
at JetBrains.ReSharper.Util.QualifiedNamesTrie.Node.GetChildren() in c:\Agent\work\Server\ReSharper2.5\src\Util\src\dataStructures\QualifiedNamesTrie.cs:line 436
at JetBrains.ReSharper.ProjectModel.Impl.FileSystemWatcherTree.OnWatcherDeleted(Object sender, FileSystemEventArgs e) in c:\Agent\work\Server\ReSharper2.5\src\ProjectModel\src\impl\fileSystemTracker\FileSystemWatcherTree.cs:line 374
at System.IO.FileSystemWatcher.OnDeleted(FileSystemEventArgs e)
at System.IO.FileSystemWatcher.NotifyFileSystemEventArgs(Int32 action, String name)
at System.IO.FileSystemWatcher.CompletionStatusChanged(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

Then I closed all instances of Visual Studio, opened my example and after 2-3 builds the error occured. I'll attach the log file.


Dag Christensen - 30 Jan 07 15:20
A bit inaccurate in the last post - "after 2-3 builds" should be "repeating steps 2-4 a few times".

Dag Christensen - 07 Feb 07 15:00
Screenshot from a larger solution than the example provided.