Shaders can be compiled from file using D3D11Compile... but also from Visual Studio itself, that should be showed, Learning how your IDE works and what it provides is a useful thing