http://silverlight.net/learn/videos/all/net-ria-services-intro/.

I followed the video to create the ADO.NET Entity Data Model and Domain Service Class. Everything works just fine until

The AdvDomainContext cannot be found. The reason is RIA service use Generated_Code to share code between Server and silverlight which technically exclude from project.

So any code references Generated_Code in silverlight can not be resolved by Resharper.
Solution:
1. Show all file in VS 2008

2. Include Generated_Code into project

Then, Resharper can pick up the class now.
By the way, it might pop up warning when you dubug the project

Just go will the "continue".
It works now :-)
No comments:
Post a Comment