我使用了以下代码(cosmos + Visual 2008),但按下F5应用程序不运行,而是提供了一个错误:"microsoft遇到了错误,需要关闭“
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);
}
}
}发布于 2011-03-17 19:39:10
由于Cosmos是一个不同的操作系统,Visual在尝试调试这个东西时可能会出现问题。
我会检查一下什么宇宙常见问题并找出该做什么。浏览常见问题时,我看到以下免责声明:
我可以用哪个版本的Visual来开发宇宙? 目前我们只支持Visual 2008。我们计划在将来支持Visual 2010,但现在我们有更重要的特性要完成。
另外,我在他们的Wiki中注意到,有些人在VS 2008集成中有一个崩溃的bug。
https://stackoverflow.com/questions/5342779
复制相似问题