You must install .NET desktop Runtime to run this application

Questions about Wine on Linux
Locked
LocalCustard
Level 2
Level 2
Posts: 11
Joined: Mon Dec 30, 2024 10:20 pm

You must install .NET desktop Runtime to run this application

Post by LocalCustard »

Greetings! I am trying to run the K2 Chao editor for sonic adventure 2. I like this tool as it allows me to modify chao and save them as files in case something bad happens. There is just one small problem- the app won't recognize that I have dotnet desktop runtime 8 downloaded on my computer already. For some reason this app in particular won't recognize it. I got another app (SAModManager) to recognize this which further compounds my confusion. With the help of a professional, I did so by setting this environment variable in a nano bash file:
export DOTNET_ROOT=/snap/dotnet-runtime-80/current
Before anyone points out, I have tried the preposed solution from the developer but it goes to the same conclusion. When I followed the recommendation from the comments nothing changed (plus it is a very derived solution). I would like to get the K2 chao editor to work via wine.
I have been trying to find a solution to this problem for a week now. I've gone through multiple solutions to this. It works on bottles. Problem is, bottles is a self-contained app so I can't use the tool properly through it (won't recognize my steam save file).
How might I go about getting this app to work via wine?

I am using linux ubuntu if the distro makes a difference. I would like to quickly disclaim I am a linux rookie.
LocalCustard
Level 2
Level 2
Posts: 11
Joined: Mon Dec 30, 2024 10:20 pm

Re: You must install .NET desktop Runtime to run this application

Post by LocalCustard »

Here is the error log
App: Z:\home\local-custard\Desktop\Chao Editor\K2ChaoEditor3.exe
Architecture: x86
App host version: 8.0.11
.NET location: Not found

Learn more:
https://aka.ms/dotnet/app-launch-failed

Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?mi ... ion=8.0.11
0024:err:eventlog:ReportEventW L"Description: A .NET application failed.\n"
0024:err:eventlog:ReportEventW L"Application: K2ChaoEditor3.exe\n"
0024:err:eventlog:ReportEventW L"Path: Z:\\home\\local-custard\\Desktop\\Chao Editor\\K2ChaoEditor3.exe\n"
0024:err:eventlog:ReportEventW L"Message: You must install .NET to run this application.\n"
0024:err:eventlog:ReportEventW L"\n"
0024:err:eventlog:ReportEventW L"App: Z:\\home\\local-custard\\Desktop\\Chao Editor\\K2ChaoEditor3.exe\n"
0024:err:eventlog:ReportEventW L"Architecture: x86\n"
0024:err:eventlog:ReportEventW L"App host version: 8.0.11\n"
0024:err:eventlog:ReportEventW L".NET location: Not found\n"
0024:err:eventlog:ReportEventW L"\n"
0024:err:eventlog:ReportEventW L"Learn more:\n"
0024:err:eventlog:ReportEventW L"https://aka.ms/dotnet/app-launch-failed\n"
0024:err:eventlog:ReportEventW L"\n"
0024:err:eventlog:ReportEventW L"Download the .NET runtime:\n"
0024:err:eventlog:ReportEventW L"https://aka.ms/dotnet-core-applaunch?mi ... n=8.0.11\n"
0024:err:eventlog:ReportEventW L"\n"
How might I get the exe to recognize that I have dotnet desktop runtime?
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: You must install .NET desktop Runtime to run this application

Post by qwertymnb »

Hi,

I gave this a try. Got the exe from https://filecache33.gamebanana.com/tool ... r_3_3_0.7z.

Is that the app you mean?

If I install https://download.visualstudio.microsoft ... in-x86.exe then I can see the error you are talkling about.

If I use https://download.visualstudio.microsoft ... in-x86.exe then the application starts for me (also needed winetricks arial btw)

I don't know exactly what the difference between dotnet-runtime-8.0.11-win-x86.exe and windowsdesktop-runtime-8.0.11-win-x86.exe is, but maybe you try the above recipe?
LocalCustard
Level 2
Level 2
Posts: 11
Joined: Mon Dec 30, 2024 10:20 pm

Re: You must install .NET desktop Runtime to run this application

Post by LocalCustard »

@Qwertymnb
yeah that is the program.
When I tried the link given and downloaded the .exe, nothing changed as the application still requests I download windows desktop runtime 8. Is there a location I should place the .net exe file?
LocalCustard
Level 2
Level 2
Posts: 11
Joined: Mon Dec 30, 2024 10:20 pm

Re: You must install .NET desktop Runtime to run this application

Post by LocalCustard »

update: I got this error log when I tried opening the k2 chao editor. This is with the file I downloaded from Qwertymnb. I am not sure what to make of it. What does this mean?
local-custard@Catboy-Laptop:~/Desktop/Chao_Editor$ wine K2ChaoEditor3.exe
0124:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0124:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
Process terminated. Unrecoverable system error.
at System.Environment.FailFast(System.String)
at MS.Internal.Invariant.FailFast(System.String, System.String)
at MS.Internal.Invariant.Assert(Boolean)
at MS.Internal.Shaping.TypefaceMap.MapUnresolvedCharacters(System.Windows.Media.TextFormatting.CharacterBufferRange, System.Globalization.CultureInfo, System.Globalization.CultureInfo, MS.Internal.FontFace.PhysicalFontFamily, Int32 ByRef, MS.Internal.SpanVector, Int32, Int32 ByRef)
at MS.Internal.Shaping.TypefaceMap.MapByFontFamilyList(System.Windows.Media.TextFormatting.CharacterBufferRange, System.Globalization.CultureInfo, System.Globalization.CultureInfo, System.Windows.Media.FontFamily[], MS.Internal.FontFace.PhysicalFontFamily ByRef, Int32 ByRef, MS.Internal.FontFace.IDeviceFont, Double, Int32, MS.Internal.SpanVector, Int32, Int32 ByRef)
at MS.Internal.Shaping.TypefaceMap.MapItem(System.Windows.Media.TextFormatting.CharacterBufferRange, System.Globalization.CultureInfo, MS.Internal.Span, MS.Internal.Generic.SpanVector`1<Int32> ByRef, Int32)
at MS.Internal.Shaping.TypefaceMap.GetShapeableText(System.Windows.Media.TextFormatting.CharacterBufferReference, Int32, System.Windows.Media.TextFormatting.TextRunProperties, System.Globalization.CultureInfo, Boolean, System.Collections.Generic.IList`1<MS.Internal.TextFormatting.TextShapeableSymbols>, MS.Internal.TextFormatting.IShapeableTextCollector, System.Windows.Media.TextFormattingMode)
at MS.Internal.Shaping.GlyphingCache.GetShapeableText(System.Windows.Media.Typeface, System.Windows.Media.TextFormatting.CharacterBufferReference, Int32, System.Windows.Media.TextFormatting.TextRunProperties, System.Globalization.CultureInfo, Boolean, System.Collections.Generic.IList`1<MS.Internal.TextFormatting.TextShapeableSymbols>, MS.Internal.TextFormatting.IShapeableTextCollector, System.Windows.Media.TextFormattingMode)
at System.Windows.Media.TextFormatting.TextCharacters.MS.Internal.TextFormatting.ITextSymbols.GetTextShapeableSymbols(MS.Internal.Shaping.GlyphingCache, System.Windows.Media.TextFormatting.CharacterBufferReference, Int32, Boolean, Boolean, System.Globalization.CultureInfo, System.Windows.Media.TextFormatting.TextModifierScope, System.Windows.Media.TextFormattingMode, Boolean)
at MS.Internal.TextFormatting.TextStore.CreateTextLSRuns(MS.Internal.TextFormatting.TextRunInfo, System.Collections.Generic.IList`1<System.Windows.Media.TextEffect>, System.Globalization.CultureInfo, Int32, Int32, Int32, System.Windows.Media.TextFormattingMode, Boolean, Int32 ByRef)
at MS.Internal.TextFormatting.TextStore.CreateLSRuns(MS.Internal.TextFormatting.TextRunInfo, System.Collections.Generic.IList`1<System.Windows.Media.TextEffect>, System.Globalization.CultureInfo, Int32, Int32, Int32, System.Windows.Media.TextFormattingMode, Boolean, Int32 ByRef, Int32 ByRef)
at MS.Internal.TextFormatting.TextStore.CreateLSRunsUniformBidiLevel(MS.Internal.SpanVector, MS.Internal.SpanVector, Int32, Int32, Int32, Int32, System.Windows.Media.TextFormattingMode, Boolean, Int32 ByRef)
at MS.Internal.TextFormatting.TextStore.FetchLSRun(Int32, System.Windows.Media.TextFormattingMode, Boolean, MS.Internal.TextFormatting.Plsrun ByRef, Int32 ByRef, Int32 ByRef)
at MS.Internal.TextFormatting.LineServicesCallbacks.FetchRunRedefined(IntPtr, Int32, Int32, IntPtr, Char*, Int32, Int32 ByRef, Char* ByRef, Int32 ByRef, Int32 ByRef, MS.Internal.TextFormatting.LsChp ByRef, IntPtr ByRef)
at MS.Internal.TextFormatting.UnsafeNativeMethods.LoCreateLine(IntPtr, Int32, Int32, Int32, UInt32, IntPtr, MS.Internal.TextFormatting.LsLInfo ByRef, IntPtr ByRef, Int32 ByRef, MS.Internal.TextFormatting.LsLineWidths ByRef)
at MS.Internal.TextFormatting.TextMetrics+FullTextLine.FormatLine(MS.Internal.TextFormatting.FullTextState, Int32, Int32, Int32, Int32, Int32, MS.Internal.TextFormatting.LineFlags, MS.Internal.TextFormatting.FormattedTextSymbols)
at MS.Internal.TextFormatting.TextMetrics+FullTextLine..ctor(MS.Internal.TextFormatting.FormatSettings, Int32, Int32, Int32, MS.Internal.TextFormatting.LineFlags)
at MS.Internal.TextFormatting.TextFormatterImp.FormatLineInternal(System.Windows.Media.TextFormatting.TextSource, Int32, Int32, Double, System.Windows.Media.TextFormatting.TextParagraphProperties, System.Windows.Media.TextFormatting.TextLineBreak, System.Windows.Media.TextFormatting.TextRunCache)
at MS.Internal.TextFormatting.TextFormatterImp.FormatLine(System.Windows.Media.TextFormatting.TextSource, Int32, Double, System.Windows.Media.TextFormatting.TextParagraphProperties, System.Windows.Media.TextFormatting.TextLineBreak, System.Windows.Media.TextFormatting.TextRunCache)
at System.Windows.Controls.TextBlock.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
at System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.StackPanel.StackMeasureHelper(System.Windows.Controls.IStackMeasure, System.Windows.Controls.IStackMeasureScrollData, System.Windows.Size)
at System.Windows.Controls.StackPanel.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.StackPanel.StackMeasureHelper(System.Windows.Controls.IStackMeasure, System.Windows.Controls.IStackMeasureScrollData, System.Windows.Size)
at System.Windows.Controls.StackPanel.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Grid.MeasureCell(Int32, Boolean)
at System.Windows.Controls.Grid.MeasureCellsGroup(Int32, System.Windows.Size, Boolean, Boolean, Boolean ByRef)
at System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Border.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)
at System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Documents.AdornerDecorator.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Controls.Border.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Window.MeasureOverrideHelper(System.Windows.Size)
at System.Windows.Window.MeasureOverride(System.Windows.Size)
at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
at System.Windows.UIElement.Measure(System.Windows.Size)
at System.Windows.Interop.HwndSource.SetLayoutSize()
at System.Windows.Interop.HwndSource.set_RootVisualInternal(System.Windows.Media.Visual)
at System.Windows.Interop.HwndSource.set_RootVisual(System.Windows.Media.Visual)
at System.Windows.Window.SetRootVisual()
at System.Windows.Window.SetRootVisualAndUpdateSTC()
at System.Windows.Window.SetupInitialState(Double, Double, Double, Double)
at System.Windows.Window.CreateSourceWindow(Boolean)
at System.Windows.Window.CreateSourceWindowDuringShow()
at System.Windows.Window.SafeCreateWindowDuringShow()
at System.Windows.Window.ShowHelper(System.Object)
at System.Windows.Window.Show()
at K2ChaoEditor3.App.OnStartup(System.Windows.StartupEventArgs)
at System.Windows.Application.<.ctor>b__1_0(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
at System.Windows.Threading.Dispatcher.Run()
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at System.Windows.Application.Run()
at K2ChaoEditor3.App.Main()
0024:err:eventlog:ReportEventW L"Application: K2ChaoEditor3.exe\n"
0024:err:eventlog:ReportEventW L"CoreCLR Version: 8.0.1124.51707\n"
0024:err:eventlog:ReportEventW L".NET Version: 8.0.11\n"
0024:err:eventlog:ReportEventW L"Description: The application requested process termination through System.Environment.FailFast.\n"
0024:err:eventlog:ReportEventW L"Message: Unrecoverable system error.\n"
0024:err:eventlog:ReportEventW L"Stack:\n"
0024:err:eventlog:ReportEventW L" at System.Environment.FailFast(System.String)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.Invariant.FailFast(System.String, System.String)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.Invariant.Assert(Boolean)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.Shaping.TypefaceMap.MapUnresolvedCharacters(System.Windows.Media.TextFormatting.CharacterBufferRange, System.Globalization.CultureInfo, System.Globalization.CultureInfo, MS.Internal.FontFace.PhysicalFontFamily, Int32 ByRef, MS.Internal.SpanVector, Int32, Int32 ByRef)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.Shaping.TypefaceMap.MapByFontFamilyList(System.Windows.Media.TextFormatting.CharacterBufferRange, System.Globalization.CultureInfo, System.Globalization.CultureInfo, System.Windows.Media.FontFamily[], MS.Internal.FontFace.PhysicalFontFamily ByRef, Int32 ByRef, MS.Interna"...
0024:err:eventlog:ReportEventW L" at MS.Internal.Shaping.TypefaceMap.MapItem(System.Windows.Media.TextFormatting.CharacterBufferRange, System.Globalization.CultureInfo, MS.Internal.Span, MS.Internal.Generic.SpanVector`1<Int32> ByRef, Int32)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.Shaping.TypefaceMap.GetShapeableText(System.Windows.Media.TextFormatting.CharacterBufferReference, Int32, System.Windows.Media.TextFormatting.TextRunProperties, System.Globalization.CultureInfo, Boolean, System.Collections.Generic.IList`1<MS.Internal.TextFormatting.TextS"...
0024:err:eventlog:ReportEventW L" at MS.Internal.Shaping.GlyphingCache.GetShapeableText(System.Windows.Media.Typeface, System.Windows.Media.TextFormatting.CharacterBufferReference, Int32, System.Windows.Media.TextFormatting.TextRunProperties, System.Globalization.CultureInfo, Boolean, System.Collections.Generic.IList`1"...
0024:err:eventlog:ReportEventW L" at System.Windows.Media.TextFormatting.TextCharacters.MS.Internal.TextFormatting.ITextSymbols.GetTextShapeableSymbols(MS.Internal.Shaping.GlyphingCache, System.Windows.Media.TextFormatting.CharacterBufferReference, Int32, Boolean, Boolean, System.Globalization.CultureInfo, System.Windo"...
0024:err:eventlog:ReportEventW L" at MS.Internal.TextFormatting.TextStore.CreateTextLSRuns(MS.Internal.TextFormatting.TextRunInfo, System.Collections.Generic.IList`1<System.Windows.Media.TextEffect>, System.Globalization.CultureInfo, Int32, Int32, Int32, System.Windows.Media.TextFormattingMode, Boolean, Int32 ByRef)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.TextFormatting.TextStore.CreateLSRuns(MS.Internal.TextFormatting.TextRunInfo, System.Collections.Generic.IList`1<System.Windows.Media.TextEffect>, System.Globalization.CultureInfo, Int32, Int32, Int32, System.Windows.Media.TextFormattingMode, Boolean, Int32 ByRef, Int32 "...
0024:err:eventlog:ReportEventW L" at MS.Internal.TextFormatting.TextStore.CreateLSRunsUniformBidiLevel(MS.Internal.SpanVector, MS.Internal.SpanVector, Int32, Int32, Int32, Int32, System.Windows.Media.TextFormattingMode, Boolean, Int32 ByRef)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.TextFormatting.TextStore.FetchLSRun(Int32, System.Windows.Media.TextFormattingMode, Boolean, MS.Internal.TextFormatting.Plsrun ByRef, Int32 ByRef, Int32 ByRef)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.TextFormatting.LineServicesCallbacks.FetchRunRedefined(IntPtr, Int32, Int32, IntPtr, Char*, Int32, Int32 ByRef, Char* ByRef, Int32 ByRef, Int32 ByRef, MS.Internal.TextFormatting.LsChp ByRef, IntPtr ByRef)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.TextFormatting.UnsafeNativeMethods.LoCreateLine(IntPtr, Int32, Int32, Int32, UInt32, IntPtr, MS.Internal.TextFormatting.LsLInfo ByRef, IntPtr ByRef, Int32 ByRef, MS.Internal.TextFormatting.LsLineWidths ByRef)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.TextFormatting.TextMetrics+FullTextLine.FormatLine(MS.Internal.TextFormatting.FullTextState, Int32, Int32, Int32, Int32, Int32, MS.Internal.TextFormatting.LineFlags, MS.Internal.TextFormatting.FormattedTextSymbols)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.TextFormatting.TextMetrics+FullTextLine..ctor(MS.Internal.TextFormatting.FormatSettings, Int32, Int32, Int32, MS.Internal.TextFormatting.LineFlags)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.TextFormatting.TextFormatterImp.FormatLineInternal(System.Windows.Media.TextFormatting.TextSource, Int32, Int32, Double, System.Windows.Media.TextFormatting.TextParagraphProperties, System.Windows.Media.TextFormatting.TextLineBreak, System.Windows.Media.TextFormatting.Te"...
0024:err:eventlog:ReportEventW L" at MS.Internal.TextFormatting.TextFormatterImp.FormatLine(System.Windows.Media.TextFormatting.TextSource, Int32, Double, System.Windows.Media.TextFormatting.TextParagraphProperties, System.Windows.Media.TextFormatting.TextLineBreak, System.Windows.Media.TextFormatting.TextRunCache)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.TextBlock.MeasureOverride(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.UIElement.Measure(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.UIElement.Measure(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.UIElement.Measure(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.UIElement.Measure(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.StackPanel.StackMeasureHelper(System.Windows.Controls.IStackMeasure, System.Windows.Controls.IStackMeasureScrollData, System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.StackPanel.MeasureOverride(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.UIElement.Measure(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.StackPanel.StackMeasureHelper(System.Windows.Controls.IStackMeasure, System.Windows.Controls.IStackMeasureScrollData, System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.StackPanel.MeasureOverride(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.UIElement.Measure(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.Grid.MeasureCell(Int32, Boolean)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.Grid.MeasureCellsGroup(Int32, System.Windows.Size, Boolean, Boolean, Boolean ByRef)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.Grid.MeasureOverride(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.UIElement.Measure(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.Border.MeasureOverride(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.UIElement.Measure(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.Helper.MeasureElementWithSingleChild(System.Windows.UIElement, System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.ContentPresenter.MeasureOverride(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.UIElement.Measure(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Documents.AdornerDecorator.MeasureOverride(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.UIElement.Measure(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Controls.Border.MeasureOverride(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.UIElement.Measure(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Window.MeasureOverrideHelper(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Window.MeasureOverride(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.UIElement.Measure(System.Windows.Size)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Interop.HwndSource.SetLayoutSize()\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Interop.HwndSource.set_RootVisualInternal(System.Windows.Media.Visual)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Interop.HwndSource.set_RootVisual(System.Windows.Media.Visual)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Window.SetRootVisual()\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Window.SetRootVisualAndUpdateSTC()\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Window.SetupInitialState(Double, Double, Double, Double)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Window.CreateSourceWindow(Boolean)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Window.CreateSourceWindowDuringShow()\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Window.SafeCreateWindowDuringShow()\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Window.ShowHelper(System.Object)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Window.Show()\n"
0024:err:eventlog:ReportEventW L" at K2ChaoEditor3.App.OnStartup(System.Windows.StartupEventArgs)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Application.<.ctor>b__1_0(System.Object)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.DispatcherOperation.InvokeImpl()\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(System.Object)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)\n"
0024:err:eventlog:ReportEventW L" at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)\n"
0024:err:eventlog:ReportEventW L" at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)\n"
0024:err:eventlog:ReportEventW L" at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.DispatcherOperation.Invoke()\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.Dispatcher.ProcessQueue()\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)\n"
0024:err:eventlog:ReportEventW L" at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)\n"
0024:err:eventlog:ReportEventW L" at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)\n"
0024:err:eventlog:ReportEventW L" at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)\n"
0024:err:eventlog:ReportEventW L" at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Threading.Dispatcher.Run()\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Application.RunDispatcher(System.Object)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Application.RunInternal(System.Windows.Window)\n"
0024:err:eventlog:ReportEventW L" at System.Windows.Application.Run()\n"
0024:err:eventlog:ReportEventW L" at K2ChaoEditor3.App.Main()\n"
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: You must install .NET desktop Runtime to run this application

Post by qwertymnb »

try 'winetricks arial'
LocalCustard
Level 2
Level 2
Posts: 11
Joined: Mon Dec 30, 2024 10:20 pm

Re: You must install .NET desktop Runtime to run this application

Post by LocalCustard »

when I type in winetricks arial I get a newline error. Is there another version of this command I could try?
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: You must install .NET desktop Runtime to run this application

Post by qwertymnb »

>when I type in winetricks arial I get a newline error. Is there another version of this command I could try?

What do you mean with 'newline error'? Maybe winetricks corefonts does work?
LocalCustard
Level 2
Level 2
Posts: 11
Joined: Mon Dec 30, 2024 10:20 pm

Re: You must install .NET desktop Runtime to run this application

Post by LocalCustard »

>when I type in winetricks arial I get a newline error. Is there another version of this command I could try?

What do you mean with 'newline error'? Maybe winetricks corefonts does work?
This is what the error is:
-------
$ Winetricks corefonts
/usr/local/bin/winetricks: line 1: syntax error near unexpected token 'newline'
/usr/local/bin/winetricks: line 1: '<!doctype html>'
-------
I've had gotten this error before and usually it means either I am missing something in the command or something is being done incorrectly in the command. Though, I'm not sure what it could be.
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: You must install .NET desktop Runtime to run this application

Post by qwertymnb »

>/usr/local/bin/winetricks: line 1: '<!doctype html>'

Maybe you downloaded the htnl content of winetricks(?)

Goto https://raw.githubusercontent.com/Winet ... winetricks
and copy paste the content in winetricks, and do chmod +x winetricks
desessarts
Level 4
Level 4
Posts: 196
Joined: Wed Oct 04, 2023 7:57 am

Re: You must install .NET desktop Runtime to run this application

Post by desessarts »

and take the habit of doing regularly

Code: Select all

sudo winetricks --self-update
it will save you a lot of time

an outdated winetricks will send an error message at the end of a

Code: Select all

winetricks -q xxx
when it should work fine and you will wonder why

I always do it before any winetricks command
LocalCustard
Level 2
Level 2
Posts: 11
Joined: Mon Dec 30, 2024 10:20 pm

Re: You must install .NET desktop Runtime to run this application

Post by LocalCustard »

I'm trying a lot of these and noticed I get the same error I have reported above when I try opening winetricks via terminal. What does that mean? (sorry for delayed response, I just now got to my computer)
qwertymnb
Level 5
Level 5
Posts: 272
Joined: Sun Jan 17, 2016 4:36 pm

Re: You must install .NET desktop Runtime to run this application

Post by qwertymnb »

I haven't got a clue then what goes wrong at your side.

As a last resort you could try run the codesnippet from winetricks manually:

cd /tmp
wget "https://github.com/pushcx/corefonts/raw ... rial32.exe"
wine arial32.exe
Locked