I'm trying to build my own example projects fro scratch to see how I can integrate DDS into Unity.
I made an IDL, converted to XML, generated a C# project from the XML, then tried to build it and I got the following errors.
1>------ Build started: Project: Nike_type, Configuration: Debug x64 ------
1>NikePlugin.cpp
1>Nike.cpp
1>NikeSupport.cpp
1>Generating Code...
1>.NETFramework,Version=v4.6.1.AssemblyAttributes.cpp
1>NikePlugin.obj : MSIL module encountered; incremental linking is disabled for MSIL; performing full link
1>LINK : fatal error LNK1104: cannot open file 'MSCOREE.lib'
1>Done building project "Nike_type-x64Win64VS2017.vcxproj" -- FAILED.
2>------ Build started: Project: Nike_publisher-x64Win64VS2017, Configuration: Debug x64 ------
3>------ Build started: Project: Nike_subscriber-x64Win64VS2017, Configuration: Debug x64 ------
2>CSC : error CS0006: Metadata file 'H:\Storage\Vcom3D\AMM\Projects\RtiTestCs01\bin\x64\Debug-VS2017\Nike_type.dll' could not be found
3>CSC : error CS0006: Metadata file 'H:\Storage\Vcom3D\AMM\Projects\RtiTestCs01\bin\x64\Debug-VS2017\Nike_type.dll' could not be found
========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========
It seems the root cause is a missing MSCOREE.lib file. What's the best way to remedy this?
A quick google brings up this discussion: https://stackoverflow.com/questions/41030806/visual-studio-c-cli-mysterious-error-with-template
The basic problem there was that the
.NET Framework 4.6.1 SDK
was not installed.