哦哦,还以为 managed c++ 就是 cli/c++. 没想到 managed c++ 已经过时这么久了。
看了一下 cli/c++ 不支持 linux.
C++/CLI support for .NET c*re is Windows only.
C++/CLI projects can't target .NET Standard, only .NET c*re (or .NET Framework).
C++/CLI projects don't support the new SDK-style project file format. Instead, even when targeting .NET c*re, C++/CLI projects use the existing vcxproj file format.
C++/CLI projects can't multitarget multiple .NET platforms. If you need to build a C++/CLI project for both .NET Framework and .NET c*re, use separate project files.
.NET c*re doesn't support -clr:pure or -clr:safe compilation, only the new -clr:netc*re option (which is equivalent to -clr for .NET Framework).
cli/c++ 的那些语法需要 msvc 的配合。
【 在 hongdiao (hongdiao) 的大作中提到: 】
: managed c++? 你指的是C++/CLI 出现之前的那个老古董吗。。。
--
FROM 112.47.122.*