Click here to Skip to main content
15,913,090 members

Comments by Y.Mohammed (Top 5 by date)

Y.Mohammed 23-Mar-14 5:07am View    
Exactly that was the gap here.
I will try to search for it more
Y.Mohammed 23-Mar-14 2:46am View    
Actually, I need to build that simple tool to support my research to show it as a prototype in the web application. I was done it as console application and it works but now I have to build user interface which accept the code from user and present the result in simple way.
So, If you know the way of doing that guide me.
Thanx CoderPanda.
Y.Mohammed 17-Mar-14 11:52am View    
Thanx Sergey, My idea i to build an online compiler to be part from any system. So, student could access it to compile their. I choose Roslyn as prototype to present that. Therefore, I need to build the function of Roslyn as online compiler.
Y.Mohammed 18-Feb-14 6:26am View    
Deleted
I have this code in C# using application console

<pre lang="cs">using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using Roslyn.Scripting;
using Roslyn.Scripting.CSharp;

namespace RoslynTest
{
class Program
{
static void Main(string[] args)
{
var engine = new ScriptEngine();
var session = engine.CreateSession();

string text = System.IO.File.ReadAllText(@"C:\test.txt");
session.Execute(text);


}
}
}</pre>


then I want to develop web application to it to get its URL

I try with the WPF in C# with simple windows
However, I am a beginner in C#.
Y.Mohammed 5-Feb-14 2:35am View    
I think it is in the library of the program

This are the errors:
Error 1 'Roslyn.Scripting.Session' does not contain a definition for 'Create'
Error 2 'Roslyn.Scripting.CSharp.ScriptEngine' does not contain a definition for 'Execute' and no extension method 'Execute' accepting a first argument of type 'Roslyn.Scripting.CSharp.ScriptEngine' could be found (are you missing a using directive or an assembly reference?)