Ilonic
Ilonic
CC#
Created by Ilonic on 3/29/2025 in #help
✅ XAML Constructor Error e0434352
Okay, so I found the issue, I have a user control that was supposed to do code only when the program works, but it did on design stage too, because of that I was given this error
12 replies
CC#
Created by Ilonic on 3/29/2025 in #help
✅ XAML Constructor Error e0434352
Meanwhile when running the program everything works
12 replies
CC#
Created by Ilonic on 3/29/2025 in #help
✅ XAML Constructor Error e0434352
Ссылка на объект не указывает на экземпляр объекта. в Atlantide.NVM.<SetText>d__12.MoveNext() в C:\Users\WhyToKnowMyName\source\repos\Atlantide\Atlantide\NVM.xaml.cs:строка 147 --- Конец трассировка стека из предыдущего расположения, где возникло исключение --- в System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() в System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) в System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) private async void SetText(string text) { if (Editor == null) { Debug.WriteLine("Editor is null!"); return; } await Editor.EnsureCoreWebView2Async(); // Line 147 await Editor.CoreWebView2.ExecuteScriptAsync("editor.setValue("" + System.Web.HttpUtility.JavaScriptStringEncode(text) + "")"); } It's using WebView2
12 replies
CC#
Created by Ilonic on 3/29/2025 in #help
✅ XAML Constructor Error e0434352
Wait a second
12 replies