[Kde-bindings] KDE/kdebindings/csharp

Richard Dale rdale at foton.es
Fri Dec 5 17:48:23 UTC 2008


On Friday 05 December 2008 17:35:28 Arno Rehn wrote:
> * Add support for compiling sources at runtime. Supported languages for
> now: C#, Boo, Nemerle, VB.NET (this one doesn't quite work yet - the
> compiler seems to be buggy).
>   The first non-blank line in the mainscript file needs to be a comment in
> the form // language:csharp references:System.Xml sources:otherfile.cs
>   'meta-comments' for different languages look equivalent. By default
> references for qt-dotnet, kde-dotnet and plasma-dll are added. The default
> language is C#, the default source file is only 'main'. So if a script is
> written in C#, only needs qt, kde and plasma bindings and all the code is
> contained in 'main', this comment can be omitted.
>   For each source file a md5 hash is created so it's only recompiled if the
> source was modified.
Interesting commit! I didn't know this was possible. We could have a different 
plasmoid package type where the main file was a 'main.cs' source instead of a 
compiled 'main' assembly perhaps, instead of having to tell them apart at 
runtime?

-- Richard




More information about the Kde-bindings mailing list