Hi ,
The fix in VS2010 did just suppress the error. The double naming of "SilverlightApplication_Web" (SilverlightApplication_Web.SilverlightApplication_Web.MainPage) still has me confused.
I think it is because of the file structure rather than it being defined twice. The solution file sits on my C drive with the file structure: C:\...\SilverlightApplication_Website\
Also in this folder is another folder called SilverlightApplication_Web (which contains my App.xaml and MainPage.xaml, SilverlightApplication_Web.vbproj files), and one called SilverlightApplication_WebSite (which contains the Default.html and Web.Config files).
I assume that I have set things up incorrectly, and this may be causing my problems.
I've also noticed that if I remove 'Namespace SilverlightApplication_Web' from my .XAML.VB file, the error goes away in VS2010. When I run the project, I get a new error: A security exception occured while trying to connect to the REST endpoint. I have tried putting the ClientAccessPolicy.xml in each of the three folders, and in fact all of them too, and also in the WWWROOT directory. It doesn't seem to make a difference.
Could someone please advise what the root directory?
Thanks again,
Mick