引用一个64位的DLL文件在C#中工作,但在F#不工作 [英] Referencing an x64 dll file works in C# but does not work in F#

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

问题描述

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

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


  • C#控制台应用程序

  • F#控制台应用程序

我已经提到2 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 )

C#的VS 2010发现命名空间当我写使用Kitware 。结果
中的F#的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#的罚款。 ?任何想法,这是为什么,以及如何使F#中Kitware的x64工作

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#项目引用在Visual Studio针对x64平台时不灵2010

他们说,这将是固定在未来。发布的VS

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

很好
-h -

be well -h-

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

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