Select to view content in your preferred language

Small Newbe problem with the Interactive SDK Sample

604
1
11-15-2012 02:32 AM
KristenJones1
Occasional Contributor
I have been on a crash course to learn Silverlight along with Blend and Visual Studio and have learned a lot in the last week or so. Just so you know I am not an expert...

I have both VS 2010 and VS Studio 2012 And the new Visual Studio 2012 w/Blend preview. I have the current Silverlight SDK, Silverlight Tool Box (Dec 2011), the ESRI Silverlight SDK, Expression Blend 4. They are all installed and working and I can create the ESRI sample templates and they work in Blend and the Visual Studio 2012 w/Blend preview.  I need to get the Interactive Samples SDK working

http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm

the code I downloaded being http://resources.arcgis.com/en/help/silverlight-api/concepts/index.html#/Interactive_SDK_samples/016...

Correct me if I am wrong, but this code set will not complie using Blend, it has to be Visual Studio. When I try to open in Blen it opens but none of the references load and if you try to add them, it crashes Blend.  I can repeat that behavior on two other systems.  I can however load and complie it using the VS 2012.

My question/problem is that when I build the project I get a few none-critical errors

1. "Operands of type Object used for operator '&'; runtime errors could occur. in the Relation.xaml.vb line 102 and 108 (aslo same error in the C# code)
2. Access of shared member, constant member, enum member or nested type through an instance; qualifying expresion will not be evaluated"  in file MensurationImageServices.Xaml.vb (On about 20 lines of code)

I then get a pop up saying "a start page has not been specified, so it may not display anything when you run the project. Do you want to continue?"  I select Yes

Other than that (Which I don't know yet how to fix errors or what/where/how do I set the start page) the build finished and it launches on the page ArcGISSilverlightSDKTestPage.html  But what happens is I get the loading circle that goes from 1 to 100% and the page is white.

So I **think** the problem is the start page is not defined, however there are no other html pages that could load and I can't seem to find where to set this for this sample project...

Thanks for any help
Jason
0 Kudos
1 Reply
ChrisBradberry
Deactivated User
Jason,

I have not used vs2012, but in vs2010, using the solution explorer, right click on the web project and set it to the startup project, then right click on the html page and set it to the start page.

Check the resources and make sure that they are the correct versions, and build and run it.'

I hope that works.
Chris
0 Kudos