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

Key: RSRP-36713
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Serge Baltic
Reporter: Donovan Lange
Votes: 1
Watchers: 2
Operations

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

Incorrect "Ambiguous references found" for Script# projects that refer to classes within the System namespace.

Created: 07 Mar 07 00:09   Updated: Yesterday 14:37
Component/s: None
Fix Version/s: 4.5
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 337
Fixed in build: 503


 Description  « Hide
When modifying Script# source code, Resharper will incorrectly show errors for any reference to a class within the System namespace.

Note that these Script# projects do not reference mscorlib.dll (and in fact this is checked in the project's Advanced Build Options property pane). Instead, all of the intrinsic System types are provided by a project reference to the Script# sscorlib.dll system assembly.

I suspect that the underlying bug is that Resharper is always assuming that every C# project has a dependency on the mscorlib libraries as it's analyzing the source code, regardless of the project build settings.

(BTW, if you're unfamiliar with Script#, you can download it here: http://projects.nikhilk.net/Projects/ScriptSharp.aspx)



 All   Comments   Work Log   Change History      Sort Order:
Donovan Lange - 28 Jun 07 05:43
Also note that if one has multiple projects in a workspace, where some of them are referencing the standard libraries while others are not referencing the standard libraries, that you'll also see incorrect "module aacorlib should be referenced", etc. error messages in the projects that are referencing the standard libraries for any types duplicated between the standard libraries and the referenced custom libraries.

Andrew Serebryansky - 29 Jan 08 19:14
This issue persists in ReSharper 3.1 (build #584)