views:

147

answers:

2

In Visual Studio 2010 Beta 2 I created a new navigation Silverlight application. Without changing anything I hit F5 to run the application. It comes up with the following error: ‘Unhandled error in Silverlight Application Code: 2104’. Does anyone know how I can fix this issue?

A: 

Take a look at this forum thread.

Dave Swersky
Unfortunately this is not it - the MIMI types were already registered for the root and the site in IIS. Is there anything else it could be?
rip
A: 

I’ve just worked out what the problem was: I didn’t realise the Silverlight xap wasn’t built automatically when you hit F5 in Visual Studio, so, the web application was looking for a file that wasn’t there. All I had to do to fix the problem was to build the Silverlight project

rip

related questions