C
C#2y ago
bribri

❔ Probably easy question about relative paths

Is there a way to let my relative path start at my solution folder? right now i do ..\..\..\..\filesINeed to get out of my project folder to go to another folder Would it no be easier to have something like startatsolution\filesINeed So I just start in the lowest folder to go to any other project etc
5 Replies
RubyNovaDev
RubyNovaDev2y ago
is there a reason you want it at the solution root? I think that'll break on publish/deploy
bribri
bribriOP2y ago
Seemed easier to Acces some basic files from there. But still new to this so never published anything... Easier if i'm in my ide But now your answer actually makes sense. Thank you ! Sorry for the stupid questions
RubyNovaDev
RubyNovaDev2y ago
its not stupid 🙂 its a mistake newer devs make my take here is you want to configure the content files to build to the correct location and then you can code around that
bribri
bribriOP2y ago
Thanks! I'm trying new stuff that I haven't seen in school yet! Best way to learn i guess
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server