Add external folders to solution
I have a program which can run .cs files that aren't a part of the source code. These are essentially customizable algorithms in which certain methods from the source code are run.
Since the directory containing these external .cs files aren't part of the source code, they're not in the project solution, so IntelliSense doesn't work when editing these files, which is impractical.
Is there a way to enable IntelliSense for these directories, such that I can Ctrl+Click on methods to go to their definitions in the source code?
My solution so far is to copy all the files to a folder inside the solution, which is impractical because it isn't synchronized with the external folder and now stores all the files twice.
I'm using Visual Studio Community 2022.
Since the directory containing these external .cs files aren't part of the source code, they're not in the project solution, so IntelliSense doesn't work when editing these files, which is impractical.
Is there a way to enable IntelliSense for these directories, such that I can Ctrl+Click on methods to go to their definitions in the source code?
My solution so far is to copy all the files to a folder inside the solution, which is impractical because it isn't synchronized with the external folder and now stores all the files twice.
I'm using Visual Studio Community 2022.