Question: Which assemblies are safe to remove after publish?
See original GitHub issuePublishTrimmed=true fails when using Avalonia. So I would like to manually remove assemblies which are not required at all when targeting Linux 64bit only. Which assemblies are safe to remove (I expect some aren’t used at all, for example Avalonia.Win32.dll) ?
Avalonia.Animation.dll
Avalonia.Base.dll
Avalonia.Controls.DataGrid.dll
Avalonia.Controls.dll
Avalonia.DesignerSupport.dll
Avalonia.Desktop.dll
Avalonia.DesktopRuntime.dll
Avalonia.Diagnostics.dll
Avalonia.Dialogs.dll
Avalonia.Direct2D1.dll
Avalonia.dll
Avalonia.FreeDesktop.dll
Avalonia.Input.dll
Avalonia.Interactivity.dll
Avalonia.Layout.dll
Avalonia.Logging.Serilog.dll
Avalonia.Markup.dll
Avalonia.Markup.Xaml.dll
Avalonia.Native.dll
Avalonia.OpenGL.dll
Avalonia.ReactiveUI.dll
Avalonia.Remote.Protocol.dll
Avalonia.Skia.dll
Avalonia.Styling.dll
Avalonia.Themes.Default.dll
Avalonia.Visuals.dll
Avalonia.Win32.dll
Avalonia.X11.dll
DynamicData.dll
JetBrains.Annotations.dll
Microsoft.CodeAnalysis.CSharp.dll
Microsoft.CodeAnalysis.dll
Microsoft.CodeAnalysis.VisualBasic.dll
Microsoft.VisualBasic.dll
Microsoft.Win32.SystemEvents.dll
ReactiveUI.dll
Serilog.dll
Serilog.Sinks.Debug.dll
Serilog.Sinks.Trace.dll
SharpDX.Direct2D1.dll
SharpDX.Direct3D11.dll
SharpDX.dll
SharpDX.DXGI.dll
SharpGen.Runtime.COM.dll
SharpGen.Runtime.dll
SkiaSharp.dll
Splat.dll
System.Drawing.Common.dll
System.Reactive.dll
Tmds.DBus.dll
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Removing all assemblies from <compilation ...
I removed all the 'add' elements in the compilation/assemblies element. So initially in my application's root web.config file: <compilation ...
Read more >Safe to delete empty folders from c:\windows\assembly?
I noticed that after some programs are uninstalled, they leave empty folders in c:\windows\assembly\ (Windows 7). Although there is no harm in ...
Read more >Undo Assembly Posting - Business Central
Undo the posting of an assembly order to correct a mistake or remove an unwanted posting. When you undo a posted assembly order, ......
Read more >How to publish a webapp with DevExpress assemblies and ...
Hello Martijn,. As you know our assemblies are installed in the GAC so that they are automatically added to the bin folder. You...
Read more >Chapter 2.30 | Code of Ordinances | Anchorage, AK
After assembly organization following a regular election, assembly ... Safety rules. ... The municipal clerk may also publish in a newspaper of general ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You can remove the reference to
Avalonia.Desktopand reference platform backends manually.PublishTrimmed is working for me (at least on windows and linux using netcore 3.1) there is an approach in my last comment on https://github.com/AvaloniaUI/Avalonia/issues/3337 that removes a lot of stuff, also on windows using -r win-x64 removed some stuff.