1
我已經使用下面的代碼(cosmos + Visual Studio 2008),但按F5
應用程序不運行,而是提供了一個錯誤:「microsoft visual studio遇到錯誤並且需要關閉」如何運行cosmos應用程序
using System;
using System.Collections.Generic;
using System.Text;
namespace cosmos.user.kernel
{
public class program
{
public static void Init()
{
Cosmos.Sys.Boot xBoot = new Cosmos.Sys.Boot();
xBoot.Execute();
//Main();
}
static void Main()
{
// Boot the Cosmos kernel:
Cosmos.Compiler.Builder.BuildUI.Run();
//Cosmos.Sys.Boot xBoot = new Cosmos.Sys.Boot();
//xBoot.Execute();
Console.WriteLine("Cosmos booted successfully. Type a line of text to get it echoed back:");
string xResult = Console.ReadLine();
Console.Write("Text typed: ");
Console.WriteLine(xResult);
}
}
}
測試您是否可以運行其他應用程序! – Hossein 2011-03-17 17:42:58
我可以在visual studio2008上運行程序..但這只是一個簡單的程序... n沒有運行:-( – user635545 2011-03-17 17:48:36