Zesty "JFK" Sudol Questman
Zesty "JFK" Sudol Questman
CC#
Created by Zesty "JFK" Sudol Questman on 5/28/2023 in #help
❔ Where to place files so my program can always find them?
Hey guys, I was working on one of my machines and my program is working fine. It has to open a csv file in a specific directory, and it does. But when I run it in visual studio, instead of looking in the root directory for the project, where all the files are, it looks "bin/Debug/netcoreapp6.0". How can I build my program so that these files are always in a set directory no matter the environment?
18 replies
CC#
Created by Zesty "JFK" Sudol Questman on 4/19/2023 in #help
❔ Stack Overflow error while trying to deserialize xml file
Heres the error:
Stack overflow.
Repeat 104785 times:
--------------------------------
at XMLTank..ctor()
--------------------------------
at Application.Main(System.String[])
Stack overflow.
Repeat 104785 times:
--------------------------------
at XMLTank..ctor()
--------------------------------
at Application.Main(System.String[])
Here's the code: https://pastes.io/6vc7rqsgqs
6 replies