e94eaf7700
The Avalonia UI code (App, Views, ViewModels, Localization, Assets) now lives in src/App as a plain library (no OutputType). Two thin heads reference it: - src/App.Desktop/ — WinExe, Avalonia.Desktop, hosts MainView in a MainWindow; carries Program.cs and app.manifest (moved from src/App) - src/App.Android/ — net10.0-android, Avalonia.Android, MainActivity/ MainApplication; targets API 23+, EmbedAssembliesIntoApk=true so the apk is self-contained for sideloading All event handlers and TopLevel-dependent calls (file picker, clipboard, folder picker) moved from MainWindow.axaml.cs into the new shared MainView.axaml.cs (UserControl), using TopLevel.GetTopLevel(this) so they work on both platforms. Esc/Back key handling is also in MainView. MainWindow becomes a thin shell that hosts MainView. Framework bump: all projects move to net10.0; Cli and Tests follow.
19 lines
939 B
XML
19 lines
939 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<!-- This manifest is used on Windows only.
|
|
Don't remove it as it might cause problems with window transparency and embedded controls.
|
|
For more details visit https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests -->
|
|
<assemblyIdentity version="1.0.0.0" name="PalladiumWallet.App.Desktop"/>
|
|
|
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
|
<application>
|
|
<!-- A list of the Windows versions that this application has been tested on
|
|
and is designed to work with. Uncomment the appropriate elements
|
|
and Windows will automatically select the most compatible environment. -->
|
|
|
|
<!-- Windows 10 -->
|
|
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
|
|
</application>
|
|
</compatibility>
|
|
</assembly>
|