Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I'm currently trying to learn more about silverlight technology, using eclipse. First of all, i should thank eclipse4SL team for the work done (great idea).
I've tried the Hello World tutorial here: http://blogs.msdn.com/silverlight_plus_java/pages/eclipse4sl-hello-world-tutorial.aspx but i'm getting problem at the execution time. Checking the console, i got this message:
Microsoft(R) Silverlight(TM) Development Utility. Version 126.96.36.199
Copyright (c) Microsoft Corporation. All rights reserved.
Chiron serving 'C:\Dev\Myworks\Eclipsy\yo.Web' as http://localhost:15215/
10:18:26 200 3ÿ144 /yoTestPage.html
10:18:26 200 15ÿ744 /Silverlight.js
10:18:27 404 636 /ClientBin/yo.xap [Resource not found]
I browsed all the project directories, but no xap file founded. Is there something i'm missing? How could i fix it?
It seems there is a problem of build. Please make sure you have installed .NET 3.5 and Silverlight SDK?
I'm pretty sure i have allt his installed!! Following folders exit on my disk:
C:\Program Files\Microsoft SDKs\Silverlight\v2.0
I had .net v3.5 installed couple of months ago.
I installed silverlight sdk 2 days ago and eclipse ganymede with the eclipse4sl plugin yesterday!!
Please check the preferences Windows->Preferences->Silverlight->Path to see the path is correct for .NET 3.5 ?
I've checked it, and the path is correct for .NET. It should be somethg else!!
The application that generates the .xap file is Chiron.exe. Try replacing it with the newest version from http://codeplex.com/sdlsdk. That version will work on .NET 2.0 and above on Windows, and Mono 2.0 on Mac. Let us know if that doesn't fix it.
Thx for your quick reply. I've noticed in fact that in the "C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Tools" folder, i only have:
ServiceReference -> folder
SilverLight -> js file.
After downloading the sdlsdk as you said, i copy chiron and chiron.exe(xml file) files from the bin directory to the local tools directory. But still not working.
At least now, i know that chiron was missing, although eclipse's console printed
"Chiron serving 'C:\Dev\Myworks\Eclipsy\yo.Web' as http://localhost:15215/"
The Chiron is bundled in our plugin. If we cannot find Chiron in Silverlight SDK, the bundled one will be used. The following patch has integrated the last version of Chiron:
You need to erase the previous one in eclipse/plugins
From my perspective, *.xap is produced by the msbuild. Chiron is just a light web server.
Oh, my fault, I thought you were using Chiron for XAP creation as well. It's basically the same "zipping" code anyway, so no biggie. Sorry for misleading.
Don't worry. Thanks for the participation.
Ouf i finally got it. I've tried to build it manually using
and the built gave 2 errors:
: The OutputPath property is not set for this project. Please check to make su
re that you have specified a valid Configuration/Platform combination. Configu
"c:\Program Files\Microsoft SDKs\Silverlight\v2.0\Reference Assemblies\mscorlib.
dll : error CS1703: Un assembly avec la même identité 'mscorlib, Version=2.0.5.
0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' a déjà été importé. Essaye
z de supprimer l'une des références en double."
The first one is about the output directory. I just copied the corresponding line in the second "PropertyGroup" section and paste it in the first section, just under the "OutputType" tag.
For the second one, it seems like mscorlib's been referenced more than once. So i i deleted the line.
What i'm not guessing now is why i'm the only one having such issue!! I don't think this have somethg to do with vista?
I have created a bug for the error handling:
Could you put your project on it? It will help up to fix it quickly.
We use Vista as well. We have not this problem. And We have tested your project. It works as expected.
Sorry for not showin up since then; i've been busy. Well i've been to the bug tracker, but i couldn't see any link for uploading the files. I should be missin somethg again.
Seems weird!!!! But it does work then only when i modify the project file?
Could you test to create a project in Visual Studio and then import in eclipse4SL?
the fact is that i don't have VS installed, nd tha's why i've been using the plugin.
How far about my proposal?