The GameLibsFolder and ModFolder properties need to be adjusted to match one's environment. But modifying Directory.Build.props results in the Git worktree being dirty, which prevents switching branches. To avoid this, place the default values for these properties inside a new Directory.Build.props.default file. The defaults are imported unless a Directory.Build.props.user file exists, in which case the per-user file gets imported instead. The per-user file is ignored by Git, which avoids dirtying the worktree. Moreover, update the README accordingly.
The
GameLibsFolder
andModFolder
properties need to be adjusted to match one's environment. But modifyingDirectory.Build.props
results in the Git worktree being dirty, which prevents switching branches. To avoid this, place the default values for these properties inside a newDirectory.Build.props.default
file. The defaults are imported unless aDirectory.Build.props.user
file exists, in which case the per-user file gets imported instead. The per-user file is ignored by Git, which avoids dirtying the worktree. Moreover, update the README accordingly.