2007年10月15日

Developing Silverlight on Mac

Silverlight! This is like Flash by Adobe.
This is multi-platform Web based technology by Microsoft.
I tried to develop Silverlight application on Mac.

First, we need to set up environment.
I use Eclipse. This is totally free, I love free.
Download from here;
http://www.eclipse.org/

Next, Eclipse does not have Code completion for Xaml, so I use SPKET plug-in for Eclipse.
Spket is free for non-commercial use.
When you download, select Plugin, not SpketIDE. The Spket IDE is Java based stand alone application, but this does not works on Mac... This works on Windows and Linux. (I have not tried on Linux yet)
Download from here;
http://www.spket.com/

After download these and install Eclipse, open Spket eclipse folder then open plugins folder.
Copy all files in plugins folder and paste into Eclipse's plugins folder.
Same as features folder. Copy all files in features folder and paste into Eclipse's features folder.

Now, you need one more thing to do to use Code completion for Xaml on Eclipse.
This is written on Spket home page as well.
You need silverlight.xsd file to put it into {Eclipse_INST_DIR}\plugins\com.spket.grammars\microsoft\
This silverlight.xsd file is only comes with Silverlight SDK which is only provided Windows version.
It means you need Windows environment to get this file. Because SDK is msi file and Mac cannot handle this extension.
No worry. I put it on here; Silverlight.xsd

That's all.
Environment is done!
Next let's create Sample of Silverlight application.

0 件のコメント: