-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
An exception occurred while rewriting the CreateModulaeCatalog method, causing the program to be unable to perform directory scanning and loading
Environment
- OS: Windows 10
- Prism.Avalonia Version: 9.0.537.11130
- Avalonia Version: 11.3.0
Steps To Reproduce
Steps to reproduce the behavior:
- Go to 'Rewrite the CreateModulus eCatalog method in App. axaml. cs'
- Deploy the program as a single file
- Run the currently deployed program
- Error message :
Application: Prism.AvaloniaDemo.exe
CoreCLR Version: 7.0.2024.26716
.NET Version: 7.0.20
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception: There was an error loading assemblies.
---> System.ArgumentException: The path is empty. (Parameter 'path')
at System.IO.Path.GetFullPath(String path)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Prism.Modularity.DirectoryModuleCatalog.InnerLoad()
--- End of inner exception stack trace ---
at Prism.Modularity.DirectoryModuleCatalog.InnerLoad()
at Prism.Modularity.ModuleCatalogBase.Initialize()
at Prism.Modularity.ModuleManager.Run()
at Prism.PrismApplicationBase.Initialize()
at Avalonia.AppBuilder.SetupUnsafe()
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, Action`1 lifetimeBuilder)
at Prism.AvaloniaDemo.Program.Main(String[] args) in C:\Users\keke\Desktop\Dera.Avalonia\Dera.Avalonia\Prism.AvaloniaDemo\Program.cs:line 12
Expected Behavior
The program cannot run
Screenshots

Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request