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?
1 Reply
So a text search of the project directory shows the old directory is referenced in the .csproj.user file, and set in the StartWorkingDirectory property
I've solved the issue for now by manually editting the .csproj.user file, but does anybody know where you can change that setting within VS?