Description

Inside one class named "Program", 

another class named "SendReviewerNotification" has been instantiated,

then a method "DoTheWork" has been called.

Here is the code inside "Program":

namespace ReviewerNotification{ 
	public class Program{ 
		static void Main(string[] args){
			SendReviewerNotification sendNotification = new SendReviewerNotification(); 
			sendNotification.DoTheWork(); 
		} 
	} 
}       

But in Enlighten no link is created between  "DoTheWork" and the program Main of "Program",

neither between "SendReviewerNotification" and the program Main of "Program".

Observed in CAST AIP


Release
Yes/No
8.3.x(tick)
8.2.x(tick)
8.1.x (tick) 
8.0.x (tick)
7.3.x (tick)
Observed on RDBMS

 

RDBMS
Yes/No
Oracle Server (tick)
Microsoft SQL Server (tick)
CSS3(tick)
CSS2 (tick)
Step by Step Scenario
  1. Run analysis.
  2. Open Enlighten
  3. Observe the missing link
Impact of the Problem

There is a missing link between two methods belonging to two classes (projects). The two projects belong to the same execution units.

Action Plan

The missing link is due to the fact that there is no reference from the project "Application_1" containing "program" to project "Application_2" containing "SendReviewerNotification".

From project "Application_1", you must include a reference to project "Application_2" .

Reference is essentially an entry in a project file that contains the information to locate component or service. We can do this in Visual studio. 

To reference project "Application_2" In project "Application_1" follow the steps below:

  1. In Solution Explorer, click the right button on node "Application_1", than select node "Add Reference" 
     




















  2. Following screen will appear, Select "Application_2" and then click on button "ok"
     





















  3. Compile solution
     





















  4. After re-running analysis,In Enlighten you can see that link is created between "DoTheWork" and the program Main of "Program", either between "SendReviewerNotification" and the program Main of "Program". 





Notes/comments
 Ticket # 5026
Related Pages