Context error for Siverlight application

  • Thread starter Thread starter Alex. O. Koranteng
  • Start date Start date
A

Alex. O. Koranteng

I am trying to bind to a collection object and have followed the tutorial
from Tony Miranda's video tutorial per
http://silverlight.net/learn/learnvideo.aspx?video=116211. The extracted file
name is CSDatagridIntro_CS. I have extracted the file and opened the
solution. When I ran it I am getting the error below. One observation I have
is that Page.XAML file is in the solution items folder. Any suggestions.
Please try to reproduce my error from the video tutorial

The type or namespace 'Page' cannot be found or you are missing an Assembly
reference. Ai also get a mesage that 'Cannot find output file for the xap
file. See below the code for XAML.cs

Thanks
 
Hi Alex,

I cannot reproduce the issue. I download that project CS-DataGridIntro_cs,
and I can compile and run it in my side without any problems. I can see an
similar issue in the following discussion,
http://silverlight.net/forums/t/14697.aspx

So what version of Silverlight Tools for Visual Studio you install in your
side? If you have installed the version 3 Beta, your development
environment will be a Silverlight 3 Beta environment. Visual Studio 2008
SP1 does not support multi-targeting for Silverlight applications so you
will be unable to develop Silverlight 2 applications once these tools are
installed. We recommend that you install the Silverlight 3 Beta tools on a
separate environment if you still need to have the ability to develop
Silverlight 2 applications.

Hope this helps! Have a nice day!

Best regards,
Ji Zhou
Microsoft Newsgroup Support Team
 
Colbert,

Thanks for explanation. I am using Silverlight11 with VS2008 SP1. Was the
video based on Silverlight3 Beta. That may explain why I am having my
problem. I attempted to run the file you sent me and was not successful. I am
sending to you the zipped file in a few minutes. Will appreciate any
suggestions
 
Back
Top