AppFabric development on Windows XP?

爱⌒轻易说出口 提交于 2019-12-08 02:49:34

问题


  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?)

Any ideas?

Thanks!


回答1:


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".

See here



来源:https://stackoverflow.com/questions/5756482/appfabric-development-on-windows-xp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!