Windows XP 上的 AppFabric 开发? [英] AppFabric development on Windows XP?

查看:26
本文介绍了Windows XP 上的 AppFabric 开发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 在 Windows Server 2008 上安装了应用结构 x64.
  2. 从 %windir%\System32\AppFabric 复制了 Microsoft.ApplicationServer.Caching.Client.dll 和 Microsoft.ApplicationServer.Caching.Core.dll ref 到 Win XP Pro 32 位开发机器.
  3. 在项目中添加了对这两个文件的引用
  4. 使用 Microsoft.ApplicationServer.Caching;
  5. 添加
  6. 清洁的解决方案
  7. 接收错误:命名空间Microsoft"中不存在类型或命名空间名称ApplicationServer"(您是否缺少程序集引用?)
  1. Installed app fabric x64 on Windows Server 2008.
  2. Copied Microsoft.ApplicationServer.Caching.Client.dll and Microsoft.ApplicationServer.Caching.Core.dll from %windir%\System32\AppFabric ref to Win XP Pro 32-bit dev machine.
  3. Added reference to both these files in project
  4. Added using Microsoft.ApplicationServer.Caching;
  5. Cleaned solution
  6. Receive error: The type or namespace name 'ApplicationServer' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

有什么想法吗?

谢谢!

推荐答案

您是否确认您使用的是 .NET 框架 >= 2.0?

Did you verify that you were using .NET framework >= 2.0?

Do not use the client profile for the target framework version. In Visual Studio 2008,
uncheck the Client-only Framework subset  checkbox. In Visual Studio 2010, select .NET
Framework versions that do not specify "Client Profile".

请参阅此处

这篇关于Windows XP 上的 AppFabric 开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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