Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1335

Task log should show detailed error when example program fails while running under MSVC

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Continuous Integration
    • Labels:
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Currently, when one of the example programs fails to run successfully under MSVC, a message like the following is printed to the task log:

       [2017/05/05 19:50:37.494] "C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj" (default target) (1) ->
       [2017/05/05 19:50:37.494] (PostBuildEvent target) -> 
       [2017/05/05 19:50:37.495]   C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: The command "setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\aggregate.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\bulk_write.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\connect.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\create.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\document_validation.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\get_values_from_documents.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\gridfs.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
      ...
      ...
      ...
       [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: bsoncxx\Release\view_and_value.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :VCEnd" exited with code -1073741819. [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
       [2017/05/05 19:50:37.499] 
       [2017/05/05 19:50:37.499]     0 Warning(s)
       [2017/05/05 19:50:37.499]     1 Error(s)
       [2017/05/05 19:50:37.499] 
       [2017/05/05 19:50:37.499] Time Elapsed 00:00:02.34
       [2017/05/05 19:50:37.510] Command failed: exit status 1
       [2017/05/05 19:50:37.510] Task completed - FAILURE.
      

      In particular, the task log gives no indication of either of the following, both of which are crucial to diagnose failure in the example programs:

      • Which example program failed.
      • If an exception was thrown, what the exception type and message are.

      We should make this information available via the task logs.

            Assignee:
            Unassigned Unassigned
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: