Cosmos not showing up for me

622 views Asked by At

I've been searching for a few hours for a solution for my problems. But I've downloaded Cosmos (operating system) using visual studio 2015 community edition. At first I downloaded the userkit, then realized that I wanted the devkit (maybe). All the examples I see online are using this:

using Cosmos.Compiler.Builder;

But that isn't working for me. ( I did change the properties to use the 3.5 framework, i read that I must use that and now it's not finding Cosmos anywhere. Before when I was using framework 4.5 I could use cosmos, but only Cosmos.System and one other. Any ideas on what I'm doing wrong?

This is what I'm getting in Kernel.cs when I first start a cosmos project:

using System;
using System.Colletions.Generic;
using System.Text;
using Sys = Cosmos.System;

namespace CosmosKernel1
{
    public class Kernel : Sys.Kernel
    {
        protected override void BeforeRun()
        {
            Console.WriteLine("Cosmos booted successfully. Type a line of text to get it echoed back.");
        }

        protected override void Run()
        {
            Console.Write("Input: ");
            var input = Console.ReadLine();
            Console.Write("Text type: ");
            Console.WriteLine(input);
        }
    }
}
1

There are 1 answers

7
Xena OS Development Team On BEST ANSWER

First make sure that you have a COSMOS PROJECT and not a typical c# console app or something.

Second, after confirming that, make sure you have cosmos.compiler and all the cosmos dlls in your references.

Tutorial: https://www.youtube.com/watch?v=oKW3BrclAUY