© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
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?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ How to use build directory as working directory in debug
C#CC# / help
4y ago
Vs2022 - Any way to change icons back to vs2019 or less?
C#CC# / help
3y ago
how to remove "auto complete" feature in VS2022
C#CC# / help
5mo ago