Missing package "System.Net.Ping"
See original GitHub issueOur application uses Avalonia but it seems that it’s missing some packages on some installations.
Most of our installations work fine but some have that exception:
Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileNotFoundException: Could not load file or assembly ‘System.Net.Ping, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’. The system cannot find the file specified. File name: ‘System.Net.Ping, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ at UnitystationLauncher.Models.ServerWrapper…ctor(Server server, AuthManager authManager, InstallationManager installManager) at UnitystationLauncher.Models.ServerManager.RefreshServerList() at System.Threading.Tasks.Task.<>c.<ThrowAsync>b139_0(Object state) at Avalonia.Threading.AvaloniaSynchronizationContext.<>cDisplayClass5_0.<Post>b__0() at Avalonia.Threading.JobRunner.Job.Avalonia.Threading.JobRunner.IJob.Run() at Avalonia.Threading.JobRunner.RunJobs(Nullable`1 priority) at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg) at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken) at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) at UnitystationLauncher.Program.Main(String[] args)
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (9 by maintainers)

Top Related StackOverflow Question
Don’t use it. It’s broken by design. It can and will cause issues on various machines.
I’m going to test a build with
/p:PublishSingleFile=falsefor a week or so. Already it has solved another mystery bug I was experiencing on win10