F#核心库可以通过SQLCLR批准吗? [英] Can the F# core libs be SQLCLR-approved?

查看:57
本文介绍了F#核心库可以通过SQLCLR批准吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据线程,F#Core必须经过SQLCLR批准,才能将程序集标记为SAFE.这是有计划的吗?甚至可以做到吗?

According to this thread, F# Core must be SQLCLR-approved for assemblies to be marked SAFE. Is this planned? Can it even be done?

推荐答案

一个绝妙的技巧是使用fsc的--standalone标志(又名F#编译器).这甚至可以添加到项目设置中,并嵌入到F#运行时库的输出工件中(以及所有其他可嵌入的依赖项).我相信,到那时,只要将程序集标记为SQLCLR安全,就应该能够完全按照您的意愿进行操作.

A trick, as nasty as it is, would be using the --standalone flag of fsc (aka the F# compiler). This can even be added in the project settings and embeds in the output artifact the F# runtime library (along with all other dependencies deemed embeddable). I believe that at that point you should be able to do exactly what you want just by marking your assembly as SQLCLR safe.

这篇关于F#核心库可以通过SQLCLR批准吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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