Creating a Linked File

Note: The Container\ContainerInitialize.cs file no longer exists in project - the following is for educational purposes only.

Create Link to ContainerInitialize Class

Copy the ContainerInitialize path to the clipboard

 

Add it as an existing item to the Tests project's Container folder 

 

 

Paste the ContainerInitialize path into the textblock

 

 

!! IMPORTANT !!  Click the down arrow to the right of the Add button (do not click Add) and select Add As Link

 

Your newly added file will have a little arrow shortcut icon indicating that there is not actually a file in the project - the project has a pointer to the location of the ContainerInitialize class in the Libraries.Demo file (they both share the same file)