C#C
C#3y ago
MC

Where to change working directory in VS2022?

How do you change the working directory for a project in Visual Studio?

The project I'm working on relies on some external resources and has to be run in the external resource directory so I have it set to build there.
I've updated the resource, but as part of the update the directory name changes. The only references I can find to the old directory, were in the Project Properties under the Build menu, which I've updated to the new directory, but when trying to Start the build, I get an error message saying the working directory (stating the old directory) can't be found.

Anybody got any ideas?
Was this page helpful?