Not writing, but not returning errors
The directory that VS gives when I copy the path:
C:\Users\Confidential\source\repos\Toad Editor\Toad Editor\File Selector\Dialog.txt
The directory this gives me:
C:\Users\Confidential\source\repos\Toad Editor\Toad Editor\bin\Debug\net8.0-windows\Dialog.txt
5 Replies
The path File Explorer gives me:
"C:\Users\Confidential\source\repos\Toad Editor\Toad Editor\bin\Debug\net8.0-windows\Dialog.txt"
So it seems that it's getting the curect directory, but the issue is writing to the file
Interestingly, searching for the path vs gives in file explorer and copying the dialog.txt path gives me this...
"C:\Users\Confidential\source\repos\Toad Editor\Toad Editor\File Selector\Dialog.txt"
I'm so ungodly confusedwhat exactly is the issue?
have you checked the file in the location of your messagebox?
That's what I did here
The issue is that it's not writing to the file nor is it giving an error
use the debugger to step through the code
does writer.write return any values