Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-288349: Goto-type (etc) display types from inappropriate libraries

$
0
0
Reporter Jamie Briant (jab.jetbrains@species.org) Jamie Briant (jab.jetbrains@species.org)
Created Feb 16, 2012 1:33:54 PM
Updated Feb 16, 2012 1:47:52 PM
Priority Normal
Type Usability Problem
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions 6.1
Fixed in build No Fixed in build
I'm developing apps using mono for android, monotouch and windows phone. I'm using the Project Linker VS Extension [1] so that I can build assemblies with different runtimes by having the files included in multiple projects. Problem:

Setup:

I have three "executable" projects, and three library projects. They are actually just two projects, but they have to be duplicated for each runtime. So I have:

BF.App
BF.App.Droid
BF.App.WP7
BF.Utils
BF.Utils.Droid
BF.Utils.WP7

When I am editing the BF.App project targeted at .NET 4.0, and I Goto type, Resharper lists the type in all locations:

IAutoResetWrapper: BF.Utils.Droid
IAutoResetWrapper: BF.Utils.WP7
IAutoResetWrapper: BF.Utils

Only one of these projects (BF.Utils) is used by the .NET 4.0 version of the project

Expected Behavior:

If Resharper finds the type in an assembly that is already referenced, it should use that and not display the others.

If Resharper finds "three" types, but they all have the exact same namespace, it should ignore ones from assemblies that do not match the runtime of the current assembly (unless none of them do).

This problem complicates absolutely every feature of Resharper. =(


[1] http://msdn.microsoft.com/en-us/library/ff921108(PandP.20).aspx

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>