locked
Blend 2.5 and Visual Studio : class not found RRS feed

  • Question

  • Hi,

    I recently downloaded the Blend 2.5 June preview, and I am attempting to create my first Silverlight 2 Application. I also have  .Net 3.5, minus the SP1.

    I have a simple start up program, button, page.xaml.cs contains homeBox_MouseEnter function, which when I try to call in Blend through the mouseEnter property it says "Cannot change the code-behind file. The following class was not found:"

    Code:

    page.xmal.cs
    public partial class Page : UserControl
        {
            string state;
            public Page()
            {
                // Required to initialize variables
                InitializeComponent();state = "not hover";
            }
                #region MouseEnter Events
                void homeBox_MouseEnter(object sender, MouseEventArgs e)
                {
              
                 
                        homeBox.Content = "hover";
                                   
                }

                void homeBox_Click(object sender, MouseEventArgs e)
                {
                    homeSlideRun.Begin();
                }
                #endregion
           
            }
    }

    Another issue has been VS constantly asking for the silverlight_chainer.exe install, which I have done and was successful.

    Thanks for any help you can give!

    Ian
    Friday, September 19, 2008 3:10 PM