- Home /
Make visual Studio Ignore some folders for namespace refactoring
Hi, I hope this is the right place for this Question, sorry if not. I made a project and wanted to do propper namespaces as I was often told to make Namespaces based on folderstructure. So I wanted to refactor all my scripts to do exactly that, but make it automaticaly in visual studio 2019. The catch is, that I can't seem to bring it to ignore the asset and Script folders wich are over every script folder I made. VS wants to include these folders in the namespace while I want the specific folders Assets and then Scripts to be excluded from that. basically like that:
my Imagination: myRootNamespace.Core.Player
visual studio: myRootNamespace.Assets.Scripts.Core...
is it possible to tell visual studio to ignore these two folders and start only in the directory after that, like how I imagine it?
Edit: Markdown