Hi! I believe I'm doing something wrong. The program crashes anytime I try and edit a package. Here is the log:
[22.05.2022 06:06:13.451] | Info | A new program session has been successfully created!
[22.05.2022 06:08:21.615] | Fatal | [System.RuntimeTypeHandle.CreateInstance()] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Collections.Immutable, Version=1.2.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
at AvaloniaEdit.Editing.TextArea..ctor(TextView textView)
at AvaloniaEdit.Editing.TextArea..ctor()
at AvaloniaEdit.TextEditor..ctor()
at Regul.S3PE.Windows.Editors.STBLEditor.!XamlIlPopulate(IServiceProvider , STBLEditor )
at Regul.S3PE.Windows.Editors.STBLEditor.!XamlIlPopulateTrampoline(STBLEditor )
at Regul.S3PE.Windows.Editors.STBLEditor..ctor()
--- End of inner exception stack trace ---
at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, Object[] args)
at Regul.Base.WindowsManager.CreateModalWindow[T](PleasantWindow host, Object[] args)
at Regul.S3PE.S3PEViewModel.<EditSTBLResource>d__136.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
at Avalonia.Threading.AvaloniaSynchronizationContext.<>c__DisplayClass5_0.<Post>b__0()
at Avalonia.Threading.JobRunner.Job.Avalonia.Threading.JobRunner.IJob.Run()
at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority)
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.DesktopApplicationExtensions.Run(Application app, Window mainWindow)
at Regul.Program.AppMain(Application app, String[] args)
at Avalonia.Controls.AppBuilderBase`1.Start(AppMainDelegate main, String[] args)
at Regul.Program.Main(String[] args)
Made sure I had the right .nets installed and googled the issue, I found this! It's waaaaaay above my comprehension. (I do have JetBrains and **very very very very basic** coding knowledge)
https://www.nuget.org/packages/Syst...tions.Immutable
I will say, I am so impressed by how clean this looks and how quickly this loads in comparison to S3PE.