如何在MonoDevelop 2.4中编译不安全的代码 [英] How to compile unsafe code in MonoDevelop 2.4

查看:189
本文介绍了如何在MonoDevelop 2.4中编译不安全的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在MonoDevelop 2.4中编译不安全的代码块。显然(谷歌搜索结果)应该是一个tickbox下的选项 - >构建 - >一般,允许编译器处理不安全的块,但它不在2.4。是否有人知道如何设置MonoDevelop编译不安全的代码?

I am trying to compile unsafe code blocs in MonoDevelop 2.4. Apparently (Google search result) there is supposed to be a a tickbox under Options->Build->General that allows the compiler to handle unsafe blocks but it is not there in 2.4. Does anybody know how to set MonoDevelop to compile unsafe code?

推荐答案

在解决方案视图中,项目名称。然后,在菜单栏中,单击项目,然后单击thenameofyourproject选项'
然后在编译或构建(我有一个法语版本),你有一个命名为build我猜。

In Solution view, on the left by default, click on your project's name. Then, in the menu bar, click on project, then click on '"thenameofyourproject" options' Then under Compilation or Build (I have a french version) you have a line named build I guess. Then you will see on the right written "complmentary options" or something like that.

输入/不安全,然后进入

Type in /unsafe and there you go

这篇关于如何在MonoDevelop 2.4中编译不安全的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆