The attached ZIP file contains three (3) Visual Studio Projects that were created by CMake. Each project contains one C++ file with the classic “Hello World!†message. The three projects are identical except that they were configured using CMake for three different Visual Studio versions as follows:
Test 1 - VS 2013 X64
Test 2 - VS 2012 X64
Test 3 - VS 2010 X32
The three projects were successfully compiled and linked under Visual Studio on a desktop machine that has all three versions of Visual Studio IDE Professional installed. The projects were built and cleaned. Then the single project source file was viewed in the IDE text editor and compiled without linking. When double-clicking on the three project files, the correct instance of the Visual Studio IDE was started in all cases. Behaviour is all normal under Visual Studio.
The three projects were then built using SlickEdit 2014 B5. The same sequence of commands was applied for each of the three projects.
1. From the Toolbar, Project | Open Other Workspace | Visual Studio .NET Solution ...
2. From the Toolbar, Build | Build
3. From the Toolbar, Build | Clean Solution
4. From Projects Window, highlight source file, right-click, Compile from context menu
For all three projects, the first two commands within SlickEdit worked fine. That is, the build and clean of the entire solution did as expected. However, the single-file-compile failed in two of the cases (Test 1 [VS 2013] and Test 2 [VS2012]). Test 3 [VS2010] compiled the single-file as expected with no errors. Test 1 failed as described in the first posting to this topic with no error indication. However, Test 2 failed with a hard error (source file not found ....).
LOG AND RESPONSE FILES:
The ‘src’ directory contains the SlickEdit build window output for the three tests and the response file that SlickEdit used to call msbuild (copied from the temp directory).
SUMMARY:
VS2010: SlickEdit compiles single-files from project OK
VS2012: SlickEdit fails single-file-compile from project with “file not found†error
VS2013: SlickEdit Fails single-file-compile from project quietly with no error