Rider use prism to simple view not preview but can compile and run success #20763
Unanswered
shuangqingqiang
asked this question in
Q&A
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You can use Other than that, it is hard to help without seeing an actual minimal sample. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
XamlTypeSystemException: Unable to resolve type Weight.Views.MainWindow
XamlX.XamlTypeSystemException: Unable to resolve type Weight.Views.MainWindow
at XamlX.TypeSystem.XamlTypeSystemExtensions.GetType(IXamlTypeSystem sys, String type)
at Avalonia.Markup.Xaml.XamlIl.CompilerExtensions.AvaloniaXamlIlCompiler.Parse(String xaml, IXamlType overrideRootType)
at Avalonia.Markup.Xaml.XamlIl.AvaloniaXamlIlRuntimeCompiler.LoadGroupSreCore(IReadOnlyCollection`1 documents, RuntimeXamlLoaderConfiguration configuration)
at Avalonia.Markup.Xaml.XamlIl.AvaloniaXamlIlRuntimeCompiler.LoadSreCore(RuntimeXamlLoaderDocument document, RuntimeXamlLoaderConfiguration configuration)
at Avalonia.Markup.Xaml.XamlIl.AvaloniaXamlIlRuntimeCompiler.LoadSre(RuntimeXamlLoaderDocument document, RuntimeXamlLoaderConfiguration configuration)
at Avalonia.Markup.Xaml.XamlIl.AvaloniaXamlIlRuntimeCompiler.Load(RuntimeXamlLoaderDocument document, RuntimeXamlLoaderConfiguration configuration)
at Avalonia.Designer.HostApp.DesignXamlLoader.Load(RuntimeXamlLoaderDocument document, RuntimeXamlLoaderConfiguration configuration)
at Avalonia.DesignerSupport.DesignWindowLoader.LoadDesignerWindow(String xaml, String assemblyPath, String xamlFileProjectPath, Double renderScaling)
at Avalonia.DesignerSupport.Remote.RemoteDesignerEntryPoint.<>c. b__17_0(Object arg)
using Avalonia.Controls;
namespace Weight.Views;
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Data.Core;
using Avalonia.Data.Core.Plugins;
using System.Linq;
using Avalonia.Markup.Xaml;
using Weight.ViewModels;
using Weight.Views;
namespace Weight;
public partial class App : Application
{
public override void Initialize()
{
AvaloniaXamlLoader.Load(this);
}
}
WinExe
net8.0-windows
enable
app.manifest
true
None
All
DLL\LPRLibs.dll
DLL\Microsoft.ML.OnnxRuntime.dll
To Reproduce
but it work when i create simple view not work when edit some code
Expected behavior
No response
Avalonia version
11.3.10
OS
Windows
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions