Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project Reference Error #22

Closed
PrycilaCerqueira opened this issue Jul 30, 2023 · 4 comments
Closed

Project Reference Error #22

PrycilaCerqueira opened this issue Jul 30, 2023 · 4 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@PrycilaCerqueira
Copy link
Owner

Unable to create a reference between P7_UrbanRead and WebUI projects.

Error message:
Image

@PrycilaCerqueira PrycilaCerqueira converted this from a draft issue Jul 30, 2023
@PrycilaCerqueira PrycilaCerqueira added bug Something isn't working help wanted Extra attention is needed labels Jul 30, 2023
@PrycilaCerqueira PrycilaCerqueira added this to the Build Blazor UI milestone Jul 30, 2023
@PrycilaCerqueira PrycilaCerqueira moved this from Todo to In Progress in P7_UrbanRead Jul 30, 2023
@f-rakete
Copy link
Collaborator

you can not have 2 projects be dependent on each other, that's what's called a circular reference
because the compiler basically goes: hey I want to compile A, what do we need for that (dependencies) oh, we need B for that, so let's compile B first. What do we need to compile B? Oh it's dependent on A... etc so it doesn't know where to start.

so in your case: you want to add a reference TO your console app FROM your blazor app - so the blazor app can use all the things from the console app. The console app can still stand alone as it is 👍

@PrycilaCerqueira
Copy link
Owner Author

Hi @f-rakete, it seems I canot access my data structure from the blazor app.

Image

I see the dependencies, but I cannot change it. So the WebUI access P7_UrbanRead

Image
Image

@f-rakete
Copy link
Collaborator

f-rakete commented Aug 2, 2023 via email

@PrycilaCerqueira
Copy link
Owner Author

Fixed it.

Image

@github-project-automation github-project-automation bot moved this from In Progress to Done in P7_UrbanRead Aug 2, 2023
PrycilaCerqueira added a commit that referenced this issue Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: Done
Development

No branches or pull requests

2 participants