{"action":"created","issue":{"url":"https://api.github.com/repos/CosmosOS/Cosmos/issues/415","repository_url":"https://api.github.com/repos/CosmosOS/Cosmos","labels_url":"https://api.github.com/repos/CosmosOS/Cosmos/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/CosmosOS/Cosmos/issues/415/comments","events_url":"https://api.github.com/repos/CosmosOS/Cosmos/issues/415/events","html_url":"https://github.com/CosmosOS/Cosmos/issues/415","id":166225783,"number":415,"title":"Help with file system/system.io","user":{"login":"cps12145","id":20527072,"avatar_url":"https://avatars.githubusercontent.com/u/20527072?v=3","gravatar_id":"","url":"https://api.github.com/users/cps12145","html_url":"https://github.com/cps12145","followers_url":"https://api.github.com/users/cps12145/followers","following_url":"https://api.github.com/users/cps12145/following{/other_user}","gists_url":"https://api.github.com/users/cps12145/gists{/gist_id}","starred_url":"https://api.github.com/users/cps12145/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cps12145/subscriptions","organizations_url":"https://api.github.com/users/cps12145/orgs","repos_url":"https://api.github.com/users/cps12145/repos","events_url":"https://api.github.com/users/cps12145/events{/privacy}","received_events_url":"https://api.github.com/users/cps12145/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2016-07-19T00:56:19Z","updated_at":"2016-07-20T02:49:50Z","closed_at":null,"body":"**System.io streamreader/writer doesn't work. Will this be fixed soon? is there an alternate way to do file management in your os?**\r\n\r\nOutput I get:\r\n\r\n1>------ Build started: Project: StrawberryOS testerBoot, Configuration: Debug x86 ------\r\n1>\tInvoking il2cpu.exe \"DebugEnabled:True\" \"StackCorruptionDetectionEnabled:False\" \"DebugMode:Source\" \"TraceAssemblies:\" \"DebugCom:1\" \"UseNAsm:True\" \"OutputFilename:C:\\Users\\Charles\\Documents\\Visual Studio 2015\\Projects\\StrawberryOS tester\\StrawberryOS tester\\bin\\Debug\\StrawberryOS testerBoot.asm\" \"EnableLogging:True\" \"EmitDebugSymbols:True\" \"IgnoreDebugStubAttribute:False\" \"References:C:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Kernel\\Cosmos.Core.Plugs.dll\" \"References:C:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Kernel\\Cosmos.Debug.Kernel.Plugs.dll\" \"References:C:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Kernel\\Cosmos.System.Plugs.dll\" \"References:C:\\Users\\Charles\\Documents\\Visual Studio 2015\\Projects\\StrawberryOS tester\\StrawberryOS tester\\bin\\Debug\\StrawberryOS tester.dll\" \"References:C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Core.dll\" \r\n1>C:\\Program Files (x86)\\MSBuild\\Cosmos\\Cosmos.targets(31,5): error : Error occurred while invoking IL2CPU.\r\n1>\tExecuting command line \"C:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\IL2CPU.exe\" \"DebugEnabled:True\" \"StackCorruptionDetectionEnabled:False\" \"DebugMode:Source\" \"TraceAssemblies:\" \"DebugCom:1\" \"UseNAsm:True\" \"OutputFilename:C:\\Users\\Charles\\Documents\\Visual Studio 2015\\Projects\\StrawberryOS tester\\StrawberryOS tester\\bin\\Debug\\StrawberryOS testerBoot.asm\" \"EnableLogging:True\" \"EmitDebugSymbols:True\" \"IgnoreDebugStubAttribute:False\" \"References:C:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Kernel\\Cosmos.Core.Plugs.dll\" \"References:C:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Kernel\\Cosmos.Debug.Kernel.Plugs.dll\" \"References:C:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Kernel\\Cosmos.System.Plugs.dll\" \"References:C:\\Users\\Charles\\Documents\\Visual Studio 2015\\Projects\\StrawberryOS tester\\StrawberryOS tester\\bin\\Debug\\StrawberryOS tester.dll\" \"References:C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Core.dll\" \r\n1>\tWorking directory = 'C:\\Users\\Charles\\Documents\\Visual Studio 2015\\Projects\\StrawberryOS tester\\StrawberryOS tester\\bin\\Debug\\'\r\n1>\tLoaded : DebugEnabled\r\n1>\tLoaded : StackCorruptionDetectionEnabled\r\n1>\tLoaded : DebugMode\r\n1>\tLoaded : TraceAssemblies\r\n1>\tLoaded : DebugCom\r\n1>\tLoaded : UseNAsm\r\n1>\tLoaded : OutputFilename\r\n1>\tLoaded : EnableLogging\r\n1>\tLoaded : EmitDebugSymbols\r\n1>\tLoaded : IgnoreDebugStubAttribute\r\n1>\tLoaded : References\r\n1>\tExecuting IL2CPU on assembly\r\n1>\tPlug found: 'System.RuntimeType'\r\n1>\tPlug found: 'System.OutOfMemoryException'\r\n1>\tPlug found: 'System.Double'\r\n1>\tPlug found: 'System.Delegate'\r\n1>\tPlug found: 'System.Array'\r\n1>\tPlug found: 'System.Buffer'\r\n1>\tPlug found: 'System.Enum'\r\n1>\tPlug found: 'System.EventHandler'\r\n1>\tPlug found: 'System.Exception'\r\n1>\tPlug found: 'System.MulticastDelegate'\r\n1>\tPlug found: 'System.Runtime.CompilerServices.RuntimeHelpers'\r\n1>\tPlug found: 'System.Math'\r\n1>\tPlug found: 'System.String'\r\n1>\tPlug found: 'System.Diagnostics.Debugger'\r\n1>\tPlug found: 'System.Byte'\r\n1>\tPlug found: 'System.Environment'\r\n1>\tPlug found: 'System.GC'\r\n1>\tPlug found: 'System.Int16'\r\n1>\tPlug found: 'System.Int32'\r\n1>\tPlug found: 'System.Int64'\r\n1>\tPlug found: 'System.IntPtr'\r\n1>\tPlug found: 'System.Number'\r\n1>\tPlug found: 'System.Object'\r\n1>\tPlug found: 'System.Single'\r\n1>\tPlug found: 'System.SR'\r\n1>\tPlug found: 'System.UInt16'\r\n1>\tPlug found: 'System.UInt32'\r\n1>\tPlug found: 'System.UInt64'\r\n1>\tPlug found: 'System.Threading.Interlocked'\r\n1>\tPlug found: 'System.Runtime.InteropServices.SafeHandle'\r\n1>\tPlug found: 'System.Resources.ResourceManager'\r\n1>\tPlug found: 'System.Net.IPAddress'\r\n1>\tPlug found: 'System.Net.SocketAddress'\r\n1>\tPlug found: 'System.Globalization.NumberFormatInfo'\r\n1>\tPlug found: 'System.Drawing.Color'\r\n1>\tPlug found: 'System.Drawing.SR'\r\n1>\tPlug found: 'System.Security.CodeAccessSecurityEngine'\r\n1>\tPlug found: 'System.RuntimeType+RuntimeTypeCache'\r\n1>\tPlug found: 'System.RuntimeTypeHandle'\r\n1>\tPlug found: 'System.SByte'\r\n1>\tPlug found: 'System.UIntPtr'\r\n1>\tPlug found: 'System.Security.Cryptography.Utils'\r\n1>\tPlug found: 'System.Globalization.CultureInfo'\r\n1>\tPlug found: 'Microsoft.Win32.RegistryKey'\r\n1>\tPlug found: 'Cosmos.Core.CPU'\r\n1>\tPlug found: 'Cosmos.IL2CPU.GCImplementation'\r\n1>\tPlug found: 'Cosmos.Core.IOPortBase'\r\n1>\tPlug found: 'Cosmos.Debug.Kernel.Debugger'\r\n1>\tPlug found: 'System.Char'\r\n1>\tPlug found: 'System.Collections.Generic.Dictionary`2[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]'\r\n1>\tPlug found: 'System.Random'\r\n1>\tPlug found: 'System.Console'\r\n1>\tPlug found: 'System.Type'\r\n1>\tPlug found: 'System.Threading.Monitor'\r\n1>\tPlug found: 'System.Text.DecoderFallback'\r\n1>\tPlug found: 'System.Text.EncoderFallback'\r\n1>\tPlug found: 'System.Text.ASCIIEncoding'\r\n1>\tPlug found: 'System.Text.InternalDecoderBestFitFallbackBuffer'\r\n1>\tError: Exception: System.Exception: Native code encountered, plug required. Please see https://github.com/CosmosOS/Cosmos/wiki/Plugs). System.Void  System.Threading.Thread.MemoryBarrier().\r\n1>\t Called from :\r\n1>\tSystem.IO.StreamWriter::System.Text.Encoding get_UTF8NoBOM()\r\n1>\tSystem.IO.File::Void WriteAllText(System.String, System.String)\r\n1>\tCosmosKernel1.Kernel::Void Run()\r\n1>\tCosmos.System.Kernel::Void Run()\r\n1>\t   at Cosmos.IL2CPU.ILScanner.ScanMethod(MethodBase aMethod, Boolean aIsPlug, String sourceItem) in c:\\Data\\Sources\\OpenSource\\Cosmos\\source\\Cosmos.IL2CPU\\ILScanner.cs:line 525\r\n1>\t   at Cosmos.IL2CPU.ILScanner.ScanQueue() in c:\\Data\\Sources\\OpenSource\\Cosmos\\source\\Cosmos.IL2CPU\\ILScanner.cs:line 670\r\n1>\t   at Cosmos.IL2CPU.ILScanner.Execute(MethodBase aStartMethod) in c:\\Data\\Sources\\OpenSource\\Cosmos\\source\\Cosmos.IL2CPU\\ILScanner.cs:line 255\r\n1>\t   at Cosmos.IL2CPU.CompilerEngine.Execute() in c:\\Data\\Sources\\OpenSource\\Cosmos\\source\\Cosmos.IL2CPU\\CompilerEngine.cs:line 238\r\n1>\tLoaded assemblies: \r\n1>\tC:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorlib.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\IL2CPU.exe\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\Cosmos.IL2CPU.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\Cosmos.Build.Common.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\Cosmos.Debug.Common.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\Cosmos.Assembler.dll\r\n1>\tC:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Core\\v4.0_4.0.0.0__b77a5c561934e089\\System.Core.dll\r\n1>\tC:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System\\v4.0_4.0.0.0__b77a5c561934e089\\System.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\Cosmos.System.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Kernel\\Cosmos.Core.Plugs.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\Cosmos.IL2CPU.Plugs.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\Cosmos.Common.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Kernel\\Cosmos.Debug.Kernel.Plugs.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Kernel\\Cosmos.System.Plugs.dll\r\n1>\tC:\\Users\\Charles\\Documents\\Visual Studio 2015\\Projects\\StrawberryOS tester\\StrawberryOS tester\\bin\\Debug\\StrawberryOS tester.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\Mono.Cecil.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\System.Data.SQLite.dll\r\n1>\tC:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_32\\System.Data\\v4.0_4.0.0.0__b77a5c561934e089\\System.Data.dll\r\n1>\tC:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_32\\System.Transactions\\v4.0_4.0.0.0__b77a5c561934e089\\System.Transactions.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\DapperExtensions.dll\r\n1>\tC:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Runtime.Serialization\\v4.0_4.0.0.0__b77a5c561934e089\\System.Runtime.Serialization.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\SQLinq.dll\r\n1>\tC:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Configuration\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Configuration.dll\r\n1>\tC:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Xml\\v4.0_4.0.0.0__b77a5c561934e089\\System.Xml.dll\r\n1>\tC:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_32\\System.EnterpriseServices\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.EnterpriseServices.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\XSC.exe\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\Cosmos.Debug.DebugStub.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\XSharp.Nasm.dll\r\n1>\tC:\\WINDOWS\\Microsoft.Net\\assembly\\GAC_MSIL\\System.Drawing\\v4.0_4.0.0.0__b03f5f7f11d50a3a\\System.Drawing.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\Cosmos.Core.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\Cosmos.Debug.Kernel.dll\r\n1>\tC:\\Users\\Charles\\AppData\\Roaming\\Cosmos User Kit\\Build\\IL2CPU\\Cosmos.HAL.dll\r\n1>\tErrorred\r\n1>\tIL2CPU invoked with DebugMode='Source', DebugEnabled='True', TraceAssemblies='{NULL}', IgnoreDebugStub='False'\r\n1>\tIL2CPU task took 00:00:01.7229334\r\n1>Done building project \"StrawberryOS testerBoot.Cosmos\" -- FAILED.\r\n1>\r\nBuild has been canceled."},"comment":{"url":"https://api.github.com/repos/CosmosOS/Cosmos/issues/comments/233824651","html_url":"https://github.com/CosmosOS/Cosmos/issues/415#issuecomment-233824651","issue_url":"https://api.github.com/repos/CosmosOS/Cosmos/issues/415","id":233824651,"user":{"login":"jp2masa","id":10765201,"avatar_url":"https://avatars.githubusercontent.com/u/10765201?v=3","gravatar_id":"","url":"https://api.github.com/users/jp2masa","html_url":"https://github.com/jp2masa","followers_url":"https://api.github.com/users/jp2masa/followers","following_url":"https://api.github.com/users/jp2masa/following{/other_user}","gists_url":"https://api.github.com/users/jp2masa/gists{/gist_id}","starred_url":"https://api.github.com/users/jp2masa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jp2masa/subscriptions","organizations_url":"https://api.github.com/users/jp2masa/orgs","repos_url":"https://api.github.com/users/jp2masa/repos","events_url":"https://api.github.com/users/jp2masa/events{/privacy}","received_events_url":"https://api.github.com/users/jp2masa/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T02:49:50Z","updated_at":"2016-07-20T02:49:50Z","body":"Try running the Cosmos installer again and reboot."}}
{"actor":{"display_login":"jp2masa"}}