PrycilaCerqueira / P7_UrbanRead

UrbanRead is an online library for those who enjoy a good time!
0 stars 0 forks source link

Project Reference Error #22

Closed PrycilaCerqueira closed 1 year ago

PrycilaCerqueira commented 1 year ago

Unable to create a reference between P7_UrbanRead and WebUI projects.

Error message: Image

f-rakete commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

you got the dependencies upside down ;) remove webui from urbanread, add urbanread to webui 👍

Am Mi., 2. Aug. 2023 um 12:55 Uhr schrieb Pry Cerqueira < @.***>:

Hi @f-rakete https://github.com/f-rakete, it seems I canot access my data structure from the blazor app.

[image: Image] https://user-images.githubusercontent.com/75625742/257790727-31a89208-fc96-47b1-b60a-af54f1a4022a.png

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

[image: Image] https://user-images.githubusercontent.com/75625742/257791174-1ba17d84-b715-4472-b94c-d491c4260907.png [image: Image] https://user-images.githubusercontent.com/75625742/257791249-c91e737c-56b0-4eb5-a80e-e469e171e58d.png

— Reply to this email directly, view it on GitHub https://github.com/PrycilaCerqueira/P7_UrbanRead/issues/22#issuecomment-1661994891, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQRWJLWXRDBBSJDU5OITCBTXTIWZRANCNFSM6AAAAAA2432XRU . You are receiving this because you were mentioned.Message ID: @.***>

-- *This email and the files transmitted with it are the property of Dr. R. Wummi and is intended soley for use of individual or entity to whom this email is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender at @. @.>, delete this message from your computer, destroy your computer immediately, forget all that you have seen, and turn yourself over to the proper authorities. Any other use, retention, observation, dissemination, consideration, recollection, forwarding, ridicule, printing, viewing, copy or memorization of this email without the express written consent of Major League Baseball is strictly prohibited. The contents of this email are not to be taken literally. Void where prohibited by law or common sense. Not valid in Rhode Island, Guam and the Xinghua province in China. Condiments available upon request. Cash value = 1/20th of one cent. All rights reserved. © 1975*

PrycilaCerqueira commented 1 year ago

Fixed it.

Image