This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Running C++/CLI code on Windows arm64: mscoree.dll missing

I have a C++/CLI project which I am trying to port to Windows on arm64. It is possible to build the project with more recent versions of Visual Studio (14.39.33519) and the .NET Framework (4.8.1), however the resulting library has a dependency on mscoree.dll which isn’t resolved. How is this supposed to work? Has anybody been able to run native C++/CLI on Windows arm64? The project is compiled something like this:

cl <includes, defines, warnings> -O2 -clr -GR -FS -Zi -Gy -MP -W3 -std:c++17 -FoC:/proj/wpf/objs/managedfoo.obj -c managedfoo.cpp

link -dll /MACHINE:ARM64 -libpath:C:/proj/wpf/lib -out:C:/proj/wpf/lib/managedfoo.dll C:/proj/wpf/objs/managedfoo.obj user32.lib

The result:

dumpbin /nologo /DEPENDENTS C:/proj/wpf/lib/managedfoo.dll

Dump of file C:/proj/wpf/lib/managedfoo.dll

File Type: DLL

  Image has the following dependencies:

    MSVCP140.dll
    KERNEL32.dll
    VCRUNTIME140.dll
    api-ms-win-crt-heap-l1-1-0.dll
    api-ms-win-crt-string-l1-1-0.dll
    api-ms-win-crt-runtime-l1-1-0.dll
    mscoree.dll

Where am I supposed to get mscoree.dll for arm64 from? I am running on Windows 11 23H2 which comes with .NET Framework 4.8.1.