I am not quite sure if this issue is a CMake or a VS2019 Build Tools error:
I am trying to build a C++/CLI application using CMake and only the Visual Studio 2019 Build Tools installed.
Pure C++ applications I can compiler just fine, but the build errors out on a C++/CLI project.
I get the following linker error:
LINK : fatal error LNK1104: Datei "MSCOREE.lib" kann nicht ge▒ffnet werden.
The library is available on my computer, in “C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\Lib\um\x64”.
I have installed all Build Tool componentss needed for C++/CLI builds.
This minimal example cmakes / compiles / links fine on a colleagues computer with Visual Studio installed, however on my System it does not link.
cpp_cli.7z
Any hints on how I can debug this (what CMake variables regarding C++/CLI I might try out / control) would be highly appreciated.