kT
kT
CC#
Created by kT on 10/27/2023 in #help
❔ Accessing class library objects from shared project
some models / static class only? Without any logic?
35 replies
CC#
Created by kT on 10/27/2023 in #help
❔ Accessing class library objects from shared project
so what's the purpose of these shared projects?
35 replies
CC#
Created by kT on 10/27/2023 in #help
❔ Accessing class library objects from shared project
yes, I think this code shouln't be in a shared project then
35 replies
CC#
Created by kT on 10/27/2023 in #help
❔ Accessing class library objects from shared project
So what you need to do is find the project that refers to the shared project and add a reference to the class library as well
class library project has already added reference to the shared project. And it works that way. But I need to do vice versa - shared project needs to have reference to class library but it's not technically possible
35 replies
CC#
Created by kT on 10/27/2023 in #help
❔ Accessing class library objects from shared project
maybe it just shouldn't be stored in shared project
35 replies
CC#
Created by kT on 10/27/2023 in #help
❔ Accessing class library objects from shared project
In this shared project we have some basic mapping logic but now I need to extend this mapping and I need to use some code from our repository which is stored in separate class library project
35 replies
CC#
Created by kT on 10/27/2023 in #help
❔ Accessing class library objects from shared project
That's a good question 😄 I just develop the existing project and I need to add functionality in already existing shared project
35 replies
CC#
Created by kT on 10/27/2023 in #help
❔ Accessing class library objects from shared project
not sure if it's good design though
35 replies
CC#
Created by kT on 10/27/2023 in #help
❔ Accessing class library objects from shared project
However, I came to idea that I will create interface of my repository in shared project, and implement this interface in class library project. So that I can access an interface in shared project
35 replies
CC#
Created by kT on 10/27/2023 in #help
❔ Accessing class library objects from shared project
If we click Add -> Reference -> Project Reference in a shared project, then 0 projects appear (so I can't add reference to the class library project)
35 replies
CC#
Created by kT on 10/27/2023 in #help
❔ Accessing class library objects from shared project
Shared projects do not have references, do not have NuGet packages or anything
35 replies
CC#
Created by kT on 10/27/2023 in #help
❔ Accessing class library objects from shared project
35 replies