Hi Oleg,
Thank you for the reply.
I think there is some problema with the latest version.
This time i tried with a diferente Computer running Windows 8, 32 bits, and VS2012 and i get the same result:
C:\temp\HostingSimplified>css host
C# Script execution engine. Version 3.4.0.0.
Copyright (C) 2004-2012 Oleg Shilo.
Error: Specified file could not be executed.
System.ApplicationException: Method *.Execute(Host) cannot be found.
at CSScriptLibrary.AsmBrowser.FindMethod(String methodName, Type[] args)
at CSScriptLibrary.AsmBrowser.FindMethod(String methodName, Object[] list)
at CSScriptLibrary.AsmBrowser.Invoke(Object obj, String methodName, Object[]
list)
at CSScriptLibrary.AsmBrowser.Invoke(String methodName, Object[] list)
at CSScriptLibrary.AsmHelper.Invoke(String methodName, Object[] list)
at Host.ExecuteScript(String script)
at Host.Start()
at Host.Main()
BUT if i use the older version 3.2.0.0 it works as you can see here:
C:\temp\HostingSimplified\cs-script3.2\cs-script\Lib\Bin\NET 4.0>css host
C# Script execution engine. Version 3.2.0.0.
Copyright (C) 2004-2011 Oleg Shilo.
Script: working with Host
Host: creating document...
Host: closing document...
Host: opening document (document.txt)...
Host: saving document (document1.txt)...