locked
problem running asp with Silverlight and XAML file RRS feed

  • Question

  • User-581842504 posted

    I started a ASP web site project and created a new Silverlight application to add to the site. In my XAML page I added <TextBlock x:Name="HelloMessage" Text="Hello World" FontSize="30" />  in between the grid tags. When I save and hit F5 I don't see Hello World in the IE8 browser window (debugging on). In addition my XAML text is all grey with no syntax highlighting and when I installed VS2008 it gave me an error related to XAML stuff but I can't remember exactly what it said. I don't know if this is an installation issue, but I had no Javascript highlighting/intellisense working until I installed VS 2008 SP1. Is there a problem with my install? How can I fix this? Using Win 7 64 bit.

    Saturday, October 10, 2009 3:24 AM

All replies

  • User-1659704165 posted

    Hi,

    http://silverlight.net/learn/

    learn every thing for silverlight

    Saturday, October 10, 2009 8:29 AM
  • User-581842504 posted

    please do not respond with generic answers that provide no help.

    I have installed all Silverlight tools/downloads and SP1 for VS2008.

    My XAML text is all greyed out (no highlighting) and nothing is displayed in the browser when I run the app.

    Thanks!

    Saturday, October 10, 2009 1:48 PM
  • User-1659704165 posted

    Just Chk If Silverlight is Installed Properly..Tools --> manage Addons --> Chk If there is Silvelirlight Installed Propely

    Monday, October 12, 2009 12:51 AM
  • User-2001950613 posted
    Hi,
    I had the same problem. Here is how I solved it :
    1. Right click on your xaml file
    2. Choose "Open with"
    3. Choose Xml Editor
    4. Click on the "Set as Default" button

    It worked for me !

    Olivier

    Monday, November 30, 2009 5:10 PM
  • User-111931879 posted

    Thanks a lot Smile 

    Thursday, January 7, 2010 2:30 PM