首页 > 解决方案 > c# Visual Studio 使用 unsave 编译 azure 函数

问题描述

当我尝试将我的代码发布到 Azure 函数时,我收到此错误消息

 error CS0227: Unsafe code may only appear if compiling with /unsafe

我已经在属性->构建->选中允许不安全代码上启用了不安全模式。

我还没有找到任何可以在 azure 函数上发布不安全模式的内容,这可能吗?还是天蓝色下的一些配置?

标签: c#visual-studioazure-functions

解决方案


推荐阅读