问题
- Installed app fabric x64 on Windows Server 2008.
- 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.
- Added reference to both these files in project
- Added using
Microsoft.ApplicationServer.Caching;
- Cleaned solution
- 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