Advertisement

05.02.2008 at 06:07AM PDT, ID: 23371420 | Points: 250
[x]
Attachment Details

Silverlight 2 error: "The type or namespace Page could not be found"

Tags: c#, silverlight, asp.net
This bit of code in app.xaml.cs causes the error:

        private void Application_Startup(object sender, StartupEventArgs e)
        {
            // Load the main control
            this.RootVisual = new Page();
        }

Which is strange because I think that is part of the template - so maybe I have set things up incorrectly.
I have

using System.Windows.Browser;

I thought it was because there was no reference to System.Web at first, but that can't be used in a Silverlight app I discovered.

ANy help appreciated.
Thanks
Start your free trial to view this solution
Question Stats
Zone: Microsoft
Question Asked By: peterdungan
Question Asked On: 05.02.2008
Participating Experts: 2
Points: 250
Views: 0
Translate:
Loading Advertisement...
05.02.2008 at 09:40PM PDT, ID: 21491334

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.03.2008 at 02:03AM PDT, ID: 21491812

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
06.06.2008 at 05:52AM PDT, ID: 21728513

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080236-EE-VQP-29 / EE_QW_2_20070628