开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜