If an environment variable such as PATH contains a backslash Visual Studio interprets the next line as part of the comment. When a user attempts to build the .sln he or she will see errors relating to a missing brace "}".
Before fix, the following code is generated in winrtcomponent.cpp and Visual Studio does not recognize the brace in the line }//end:ms\test.bat
...
Error 75 error C1075: end of file found before the left brace '{' at 'C:\Users\Seecrypt\git\openssl\vsout\\winrtcomponent.cpp(105)' was matched C:\Users\Seecrypt\git\openssl\vsout\\winrtcomponent.cpp 1412 1 NT-Phone-8.1-Dll-Unicode-winrtcomponent
...
By encapsulating the environment variable contents in quotation marks we can prevent Visual Studio from marking the brace in "}//end:ms\test.bat" as being a comment. Generated code with fix:
If an environment variable such as PATH contains a backslash Visual Studio interprets the next line as part of the comment. When a user attempts to build the .sln he or she will see errors relating to a missing brace "}".
Before fix, the following code is generated in winrtcomponent.cpp and Visual Studio does not recognize the brace in the line
}//end:ms\test.bat
The user will see error messages of this type:
By encapsulating the environment variable contents in quotation marks we can prevent Visual Studio from marking the brace in "
}//end:ms\test.bat
" as being a comment. Generated code with fix: