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".
Release | Yes/No |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS3 | |
CSS2 |
- Run analysis.
- Open Enlighten
- Observe the missing link
There is a missing link between two methods belonging to two classes (projects). The two projects belong to the same execution units.
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:
- In Solution Explorer, click the right button on node "Application_1", than select node "Add Reference"
- Following screen will appear, Select "Application_2" and then click on button "ok"
- Compile solution
- 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".