Je suis en train de créer une application "Bonjour tout le monde" dans Silverlight 3.0, mais quand il fonctionne, il y a une erreur: (IE 8)Silverlight ne se charge pas
Erreur:
Unhandled Error in Silverlight Application
Code: 2104
Category: InitializeError
Message: Could not download the Silverlight application. Check web server settings
Lorsque le projet a été créé j'ai choisi d'héberger l'application Silverlight dans un nouveau site web (projet d'application Web ASP.net)
Voici mon code:
<UserControl x:Class="Test.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
<Grid x:Name="LayoutRoot">
<TextBlock Text="Hello World!"/>
</Grid>
</UserControl>
J'ai aussi essayé de fonctionner sous Firefox, ça ne marche pas non plus.
Est-ce que quelqu'un sait comment résoudre ce problème?
Comment puis-je ajouter les types MIME au serveur de développement ASP.NET fonctionnant à partir de VS 2008? – eflles
Installez les outils Silverlight, ils seront configurés correctement. –