Silverlight client does not recognize namespace defined in ASP.NET project
Silverlight client does not recognize namespace defined in ASP.NET project
I have observed the following error when providing a using statement for a namespace that is defined in my ASP.NET project:
"The type or namespace name 'Web' does not exist in the namespace 'FitnessTrackerPlus'"
I observed that I cannot simply add the .Web reference to my silverlight client.
Tha开发者_开发问答nks in advance,
Scott Nimrod
So you said you observed this but I don't see any question. What is your question? Do you WANT to include that namespace in your Silverlight project? Silverlight won't be able to simply reference items in an ASP.Net project as they're different projects and there is a separation between where Silverlight and where ASP.Net run.
You'll probably want to create a class library and reference it in both places...if that was your question.
精彩评论