F#交互式:在当前打开的解决方案中引用一个项目 [英] F# interactive: Reference a project in currently open solution

查看:88
本文介绍了F#交互式:在当前打开的解决方案中引用一个项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将F#交互式控制台与Visual Studio 2010中当前打开的解决方案中的项目一起使用.是否有快速简便的方法在F#交互式控制台中添加引用以引用当前打开的解决方案中的项目?

I would like to use the F# interactive console with the projects in the currently open solution in Visual Studio 2010. Is there a quick and easy way to add a reference in the F# interactive console to reference projects in the currently open solution?

推荐答案

如果您经常引用该项目,则可以在工具"->选项"->"F#工具"->下向FSI命令行添加始终"引用. F#交互式选项. 添加-r开关,例如:

If it's a project you reference often, you can add an 'always' reference to the FSI command line, under Tools->Options->F# Tools->F# interactive options. Add a -r switch like:

-r "C:\Users\yaddayadda\MyDll.dll"

这篇关于F#交互式:在当前打开的解决方案中引用一个项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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