Referencing Repository within User Code
Posted: Wed Jan 11, 2017 3:50 pm
I would like to reference my Repo within a UserCodeCollection like this:
The repo "GuiRepository" is located in a Project "Repo", the UserCodeCollection in Project "Code". Within "Code" there is a link to "GuiRepository" in "Repo". I understand I don't need an additional "Reference" for this because the link?
Compiling the solution I get "The name 'GuiRepository' does not exist in the current context (CS0103)"
What's wrong with my approach?
Thanks, Rainer
Code: Select all
var repo = GuiRepository.Instance;
The repo "GuiRepository" is located in a Project "Repo", the UserCodeCollection in Project "Code". Within "Code" there is a link to "GuiRepository" in "Repo". I understand I don't need an additional "Reference" for this because the link?
Compiling the solution I get "The name 'GuiRepository' does not exist in the current context (CS0103)"
What's wrong with my approach?
Thanks, Rainer