引用x64 dll文件在C#中工作,但在F# [英] Referencing an x64 dll file works in C# but does not work in F#

查看:210
本文介绍了引用x64 dll文件在C#中工作,但在F#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用最新的VS 2010创建了两个全新的解决方案:

I have created two brand new solutions using the latest VS 2010:


  • C#控制台应用程序

  • F#控制台应用程序

我已经引用了两个x64 dll文件: Kitware.VTK.dll Kitware.mummy.Runtime.dll

(可以在这里下载: http://www.kitware.com/products/avdownload.php

I have referenced two x64 dll files: Kitware.VTK.dll and Kitware.mummy.Runtime.dll
(can be downloaded here: http://www.kitware.com/products/avdownload.php )

当我写使用Kitware 时,C#VS 2010会找到命名空间。

当我写打开Kitware 。

The C# VS 2010 finds the namespace when I write using Kitware.
The F# VS 2010 does not find the namespace when I write open Kitware.

x86版本在F#中正常工作。任何想法为什么和如何使Kitware x64在F#中工作?

The x86 version works fine in F#. Any idea why is that and how to make the Kitware x64 work in F#?

推荐答案

这可能是由于这里描述的错误:

It's probably due to the bug described here:

F#项目引用不起作用

他们表示将在下一个释放VS。

They say it will be fixed in the next release of VS.

很好
-h -

be well -h-

这篇关于引用x64 dll文件在C#中工作,但在F#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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