Even if the Microsoft Visual Studio build command devenv is in your path, kwinject will not produce a build specification when run in a 4NT shell unless you specify the full path to the devenv tool. 4NT is a non-default command shell for Windows.
Workaround: Specify the full path to devenv when running kwinject in a 4NT shell.