1
Hello, I need to get the url where my project is (wpf). The reason is this: there is an image upload inside the Image folder (which is in the Image File of my project) and I need the image File to be saved in the correct folder. I could put it in manually, but every time I change my computer, I’d have to change it and that’s not very feasible.
You can use
System.AppDomain.CurrentDomain.BaseDirectory
.– stderr
@qmechanik show. Thanks
– Leomar de Souza
I posted as an answer. =)
– stderr