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

RSRP-288643: Code Analysis doesn't work when referenced project is not in the solution

$
0
0
Reporter Alex Berezoutsky (fergard) Alex Berezoutsky (fergard)
Created Feb 29, 2012 5:46:24 PM
Updated Feb 29, 2012 5:46:24 PM
Priority Critical
Type Bug
Fix versions Next
State Submitted
Assignee Evgeny Pasynkov (pasynkov)
Subsystem No subsystem
Affected versions 6.1.1
Fixed in build No Fixed in build
1.	Create Solution1
2.	Add new project ProjectB
  a.	Add class B to it
3.	Add new project ProjectA
  a.	Add class A to it
  b.	Add a reference to it; point it to ProjectB (that’s a “project reference”, as opposed to an “assembly reference” which you point to a dll)
  c.	Open class A and write this code “B b = new B();”
4.	Build solution -> it should build ok

1.	Now create Solution2
2.	Add existing project: ProjectA
3.	Open class A and observe that the “B”s are red because ReSharper can’t find them.
4.	Suspend ReSharper and observe that VS’s intellisense can find them.

So it’s not about references that get added by MSBuild tasks or anything, it’s pretty standard.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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