Now, in the same solution I want to create a third library which is a native C++ library using Visual C++ -> Empty Project (in the way I described it in my previous post) [name:UnmanagedLib]. UnmanagedLib shall be referenced from inside ClassLibrary2 (the C++/CLI one).
The Empty project template defaults to creating a C++ console application.
Clarify whether you intend to build a native C++ static library or intend to build a native C++ DLL and its related import library (.lib file).
Update:
In my own test I found that eliminating the project reference from the C++/CLI project to either the project that creates a static library or a dll and instead setting the linker property page to add the appropriate path to "Additional Library Directories" and the .lib file names to "Additional Dependencies" solved the problem. The solution then built successfully within VS2017.