visual-c++ - VC++ .Net Clr/Safe 和 Clr/Pure

标签 visual-c++ clr compiler-options

在 VC++ .Net 中,Clr/Safe (/clr:safe) 和 Clr/Pure (/clr:pure) 是什么意思?

最佳答案

来自doc :

/clr:pure Produces a Microsoft Intermediate Language (MSIL)-only output file that has no native executable code. However, it can contain native types compiled to MSIL.

/clr:safe Produces an MSIL-only (no native executable code), verifiable output file. /clr:safe enables verification diagnostics (PEVerify Tool (Peverify.exe)).

关于visual-c++ - VC++ .Net Clr/Safe 和 Clr/Pure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3536692/

相关文章:

c# - 为什么在C#中int的Size具体是4字节?

c# - 在 .NET 4 上运行 .NET 3.5 应用程序时崩溃

c++ - 如何从 Windows 路径的 -D 编译器定义变量创建字符串文字

gcc - 交叉编译时是否有 gcc 选项来打印目标三元组?

c++ - 在 OpenCV 中为我检测到的对象制作动画

visual-c++ - 是否可以通过 VC++ 属性表更改工作目录?

c++ - 链接 C++ 和 C++/CLI 项目 (.NET Core) 时导入错误 (E0337)

c++ - 如果同时指定 EHsc 和 EHa 会发生什么

c++ - 在 Visual C++ 2010 Express 中安装 OpenCV 2.4.3

makefile - 制作文件预处理器指令