altXerror 0 Newbie Poster

i am trying to make an OS using cosmos boot in VB.net

it is called TrippyDOS

i have this code here:

Imports System
Imports System.Collections.Generic
Imports System.Text
Imports System.Globalization
Imports System.Int32
Imports System.Globalization.CompareInfo



Namespace TrippyDosA

	Public Class Kernel
		Inherits Cosmos.System.Kernel

		Protected Overrides Sub BeforeRun()
			Console.WriteLine("Cosmos booted successfully. Type a line of text to get it echoed back.")
		End Sub

		Protected Overrides Sub Run()
            Console.Clear()
            Console.Write("TrippyDos Alpha 0.10A  Programmed by ALexander Frankland (DeXtroze)", Environment.NewLine)
Start:
            Console.Write("TrippyDOS\: ")
            Dim input = Console.ReadLine()
            If input = "More.com" OrElse input = "more.com" Then
                GoTo More
            ElseIf input = "Help" OrElse input = "help" Then
                GoTo Help
            Else
                Console.Write("Error: Cannot Find The Specified Function or program!", Environment.NewLine, Environment.NewLine)
                GoTo Start
            End If
More:
            Dim A_repeat = 1
            Console.Clear()
            Do
                Dim repeat = Console.ReadLine()
                Console.WriteLine(input)
                If repeat = "exit" Then
                    Exit Do
                Else
                    Continue Do
                End If
            Loop While A_repeat = 1
            Console.Clear()
            GoTo Start
Help:
            Console.Write("Help: Displays help system")
            Console.Write("More.com: runs verrbose repeating program")
            Console.Write("")
            Console.Write("The functions list will improve over time, when more programs are added!")
            Console.Write("")
            GoTo Start
		End Sub

	End Class

End Namespace

but i keep on getting this error:

Error	1	Plug needed. System.Int32  System.Globalization.CompareInfo.InternalCompareString(System.IntPtr, System.String, System.String, System.Int32, System.Int32, System.String, System.Int32, System.Int32, System.Int32)
   at Cosmos.IL2CPU.ILScanner.ScanMethod(MethodBase aMethod, Boolean aIsPlug) in c:\Data\Sources\Cosmos\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 663
   at Cosmos.IL2CPU.ILScanner.ScanQueue() in c:\Data\Sources\Cosmos\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 779
   at Cosmos.IL2CPU.ILScanner.Execute(MethodBase aStartMethod) in c:\Data\Sources\Cosmos\source2\IL2CPU\Cosmos.IL2CPU\ILScanner.cs:line 284
   at Cosmos.Build.MSBuild.IL2CPUTask.Execute() in c:\Data\Sources\Cosmos\source2\Build\Cosmos.Build.MSBuild\IL2CPUTask.cs:line 239	C:\Program Files\MSBuild\Cosmos\Cosmos.targets	32	10	TrippyDosABoot

i have tryed adding the

System.Globalization.CompareInfo.InternalCompareStrings(...)

but it says that it does not contain any public member(s)?

can some one explain to me what i am doing wrong

*NOTE* for those who do not know, cosmos boot allows you to design an operating system in VB.net or C#

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.