I'm trying to write a simple Orleans demo solution:
In the interface collection project, I can type Orleans and VS2013 Intellisense recognizes the namespace and its contents:
In the class collection project I can't:
Why is this happening and how can I fix it?
I've been able to resolve my issue with generous help from Sergey Bikov from the Microsoft Orleans team.
What I did was:
I add the missing reference from my grain project to my interface project, and added using MyGrainInterfaces1;
to Grain1.cs . (Just so my solution would build without errors)
I removed the references to the Orleans.dll from both my projects and then re-added them manually. (Path to Orleans.dll for me is C:\\Microsoft Project Orleans SDK v1.0\\SDK\\Binaries\\OrleansClient\\Orleans.dll
Now the Orleans namespace is recognized in both projects correctly.
Side note: Not sure why this did not work for me when I tried it several days ago.
using MyGrainInterfaces1;
to Grain1.cs and build.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.