Reputation: 16841
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?
Upvotes: 0
Views: 1029
Reputation: 16841
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.
Upvotes: 2
Reputation: 992
using MyGrainInterfaces1;
to Grain1.cs and build.Upvotes: 1