Visual Studio 2017 Community Graphics Debugging

I can confirm that this is the important step - I didn’t need the #pragma.
I found, however, that a lot of the shaders were still obfuscated. They showed up as lists of includes. This might be particular to our project, which was an old xna project.
I’m now looking into debugging them through nSight, but I suspect I’ll have similar results.