问题描述
我不知道在使用Rider 2017.2.1(Mac版)时是否可以启用此选项.有人可以建议吗?我根本找不到该选项.我用谷歌搜索:配置项目构建配置的属性
在解决方案"窗口中,右键单击所需的项目,然后选择属性".在打开的项目属性"对话框中,选择一个项目构建配置.根据需要编辑所选配置的构建属性,然后单击确定"以应用您的修改:
但是在Mac版本中根本没有这样的选项.
解决方案资源管理器->选择您的项目->属性...(alt + enter)->在配置"部分中选择适当的配置->设置允许不安全的代码".
如果禁用了复选框,请等待Rider 2018.1 EAP 1发行.这意味着该属性是从某些MsBuild目标导入的(例如,它发生在dotnet核心项目中).
I don't know if I can turn on this option when using Rider 2017.2.1 (Mac version). Anyone could advise? I cannot find that option displayed at all.I googled:To configure properties of project build configurations
In the Solution window, right-click on the desired project and choose Properties. In the Project properties dialog that opens, select a project build configuration. Edit build properties of the selected configuration as needed and click OK to apply your modifications:
But there is no such option in Mac version at all. https://www.jetbrains.com/help/rider/Build_Configurations.html
Solution Explorer -> Select your project -> Properties... (alt+enter) -> Select appropriate configuration in "Configurations" section -> Set "Allow unsafe code".
If a checkbox is disabled, wait for Rider 2018.1 EAP 1 will be released. That means the property was imported from some MsBuild targets (it happens in dotnet core projects for example).
这篇关于如何在Rider for Mac版本中允许“不安全代码"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!