Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何获得在 ashx 文件中编写不安全代码的权限?当我在 asp 中使用不安全代码时,我遇到以下错误。
不安全代码可能仅在使用 /unsafe 编译时出现
右键单击您的项目。选择“属性”。切换到“构建”选项卡。勾选“允许不安全代码”。