I've encountered some unexpected behavior in Visual Studio Enterprise 2017
in a .NET Web API
project. When I'm in a branch (not master
), and I add some new files like a controller and a model, maybe exclude a file or two from project, etc. If I switch back to master
, or to any other branch, these same files are added and/or excluded in this branch as well.
I thought the purpose of branches was to keep changes like this isolated? Perhaps changes in the file tree have always populated across branches and I just never noticed until now?
Is this behavior in Visual Studio expected?