为什么WindowsForms不接受DeepZoomTools.dll参考? [英] Why DeepZoomTools.dll reference is not accepted in WindowsForms?

查看:95
本文介绍了为什么WindowsForms不接受DeepZoomTools.dll参考?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我找不到将DeepZoomTools.dll添加到WindowsForms应用程序的方法.我遵循的步骤是:

1)创建一个新的WindowsForm应用程序

2)添加对在C:\ Program Files \ Microsoft Expression \ Deep Zoom Composer中找到的DeepZoomTools.dll的引用

3)使用Microsoft.DeepZoomTools添加;在Form1.cs

4)单击构建WindowsFormsApplication

5)我收到错误消息:"Microsoft"命名空间中不存在类型或名称空间名称"DeepZoomTools"(您是否缺少程序集引用?)

预先感谢您的帮助,

Luis Nambiar

Hi All,

I cannot find a way to add the DeepZoomTools.dll to a WindowsForms application. The steps I followed are:

1) Create a new WindowsForm application

2) Add Reference to DeepZoomTools.dll found in C:\Program Files\Microsoft Expression\Deep Zoom Composer

3) Add using Microsoft.DeepZoomTools; in Form1.cs

4) Click on Build WindowsFormsApplication

5) I get the error: "The type or namespace name ''DeepZoomTools'' does not exist in the namespace ''Microsoft'' (are you missing an assembly reference?)

Thanks in advance for your help,

Luis Nambiar

推荐答案

检查与这些dll一起编译的框架的版本.看起来与您使用的.Net版本不同.
Check the version of the framework these dlls were compiled with. Looks like this is different from th .Net version you are using.


如果有人遇到相同的问题,解决方案如下所示.

转到项目属性,然后将目标框架"值从".NET Framework 4客户端配置文件"更改为".NET Framework 4".

最好的问候,

路易斯·南比亚(Luis Nambiar)
If somebody has the same issue the solution is shown below.

Go to Project Properties and change the "Target framework" value from ".NET Framework 4 Client Profile" to ".NET Framework 4".

Best regards,

Luis Nambiar


这篇关于为什么WindowsForms不接受DeepZoomTools.dll参考?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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