How to access a type from a different project in the same solution? (Rider) [Answered]
Take a look a the image. The left file is
Class1.cs
and the right file is Author.cs
. How can I make it such that Class1.cs
is able to access the Author
class within Author.cs
that resides in a different project?
8 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
your
PublisherData
project will need a project reference to ProjectDomain
then you can just use the namespace and you're doneHow do I add a project reference?
what IDE are you using?
Rider
right click your "dependencies" under projectdata
should be in the context menu there
😮 !
Damn that's pretty cool
Thank you so much! That worked!
✅ This post has been marked as answered!