Upgrade from 3.11.4 to 3.12.0 broke my .NET project reference
We have two projects, one in managed C++, one in C# (using Visual Studio 2017). The C# project depends on the C++ project. After upgrading CMake to 3.12.0, the build failed. The C++ project builds fine. All the output files are the same. The C# project still has the C++ project as a reference, but now any use of a name from the C++ project is a compiler error. of the form: "The type or namespace name '' could not be found (are you missing a using directive or an assembly reference?)"
I tried removing uses of VS_DOTNET_TARGET_FRAMEWORK_VERSION in exchange for the new CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION, and that made no difference.
The C# target is a shared library target, and the dependency on the C++ target is set with target_link_libraries.