This project has been stopped because powershell does all what i want.
If you like to take over this project, feel free to contact me.

Project Description
This project is a "runtime" for C# based Scripts.
Now C# can be used like vbs with full .Net 2.0 support.

Documentation

Blog: http://csscript.blogspot.com/

 C# Script News Feed 
Sunday, July 26, 2009  |  From C# Script

Dear readers,

this Blog is closed and will never be updated.
If you like this project, you are welcome to take it over.

See you.

Monday, October 13, 2008  |  From C# Script

I just have started to publish a documentation about available commands.

I can look at it here: http://www.codeplex.com/CSScript/Wiki/View.aspx?title=Documentation

Wednesday, October 01, 2008  |  From C# Script

Sorry for the delays...

I am glad to tell you that a new release is avaliable for download.

Codeplex Download

The current Version is 0.8.

it is a stable runtime for your C# Scripts.

Some Features:


  • Extensiblity with Modules
  • Feature to load CS-Files
  • Property to get the RuntimeVersion
  • better error messages
  • redesign of architecture
  • many bugfixes


Documentation, Examples and Modules will following.

Friday, May 09, 2008  |  From C# Script

Some people asking me "is the project still alive ?".
The Answer is YES.

Currently we working on Version 0.2.
Main Workitems are:


  • Better performance

  • Support for Modules
    Modules are a functions wich extend the usability of CSScript as a real scripting language.
    e.g. the Module "dos.csm" will give you some of the basic dos functions like copy, move and delete files ...
    More information about that at the next release.

  • Support for 64 Bit installations

  • Support for CommandPrompt (cmd.exe) scripts


Release 0.2 is planned for 05/2008

Thursday, January 10, 2008  |  From C# Script

With just two steps you can use VisualStudio to edit your CSScript -Files (*.csr).

Step 1


Inform the VS about the fileextension.

To do that please follow these steps:

  • start VS

  • open Tools/Options - Dialog

  • scroll down to "File Extensions"

  • enter "csr" to Extension Field

  • select C# as Editor and click on "Apply"




Step 2


Make your CSR - Code valid for intellisense and the c# compiler.
Sample:



#region HEADER
#if CSSRIPT
//place for the C#Script - Directives
loadASM "System.Windows.Forms.dll";
#else
//ignore this part
public class vsdummy
{
public void Main()
{
#endif
#endregion
//######################
//start of script - code
//######################

string msg = "Hello World";
for(int i=0;i<3;i++) msg+=String.Format("\n{0}...",i);

System.Windows.Forms.MessageBox.Show(msg, "CSSCript - Sample");

//####################
//end of script - code
//####################
#if !CSSRIPT
}
}
#endif


Have fun...

Monday, December 10, 2007  |  From C# Script

Calling Convention: void loadAsm [AssemblyName];

This command load .net assemblys which needed to execute the script.

Please look at the following restrictions:


  • Assemblys which resides only in the GAC are not supported
    (at the Moment)

  • CSScript looks for Assemblys only in:

    • RunTime - Directory (installdir)

    • Script - Directory

    • .Net Framework - Directory
      (%winroot%\Microsoft.NET\Framework\v2.0.50727)





Next Version becomes a command to add additionals folders.

Friday, December 07, 2007  |  From C# Script

The firt CSScript - Runtime (V0.0.1 - Prototype) ist just released here:

http://www.codeplex.com/CSScript/Release/ProjectReleases.aspx?ReleaseId=8886

You can run some simple scripts like these:

loadASM "System.Windows.Forms.dll";

string msg = "Hello World";
for(int i=0;i<3;i++) msg+=String.Format("\n{0}...",i);

System.Windows.Forms.MessageBox.Show(msg, "CSSCript - Sample");

Friday, November 09, 2007  |  From C# Script



We have decided to publish this project under the GNU General Public License, Version 2.

Feel free to download it here.

Tuesday, November 06, 2007  |  From C# Script

I just started the C# Script - Project.

Targets of the project are:


  • create a scripting language like vbs for c# developer

  • c# script should not be "only" a simple compiler caller like some other projects

  • run scripts with a simple doubleclick or as planned task

  • full support of C# 2.0 features

  • predefined helpfull functions, e.g. string InputBox (string)

  • ...


We have also a project logo ;-) :

That's all for the kickoff.

Hope you like the idea.

 C# Script News Feed 


Project Manager: Daniel Bedarf

Last edited Jan 19, 2011 at 4:21 PM by DBedarf, version 8