Die .Net-CLR als Makro-Baukasten
css.xml - Einzubindende Assemblies
<assemblies>
<assembly path="C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll" />
<assembly path="C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll" />
</assemblies>
Beispiel-Makro test.cs:
using System;
using System.Collections.Generic;
using System.Text;
namespace css {
class Program {
static void Main(string[] args) {
Console.WriteLine("Hallo aus Ihrem ersten CS-Skript");
global::System.Windows.Forms.MessageBox.Show( "Hellom World" );
}
}
}