question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing package "System.Net.Ping"

See original GitHub issue

Our 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:closed
  • Created 4 years ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
kekekekscommented, Feb 19, 2020

PublishSingleFile

Don’t use it. It’s broken by design. It can and will cause issues on various machines.

0reactions
DooblyNooblycommented, Feb 19, 2020

I’m going to test a build with /p:PublishSingleFile=false for a week or so. Already it has solved another mystery bug I was experiencing on win10

Read more comments on GitHub >

github_iconTop Results From Across the Web

System.Net.Ping NuGet Installation error
I want use Ping in Windows 10 Mobile. I'm trying with "Install-Package System.Net.Ping -Version 4.0.0" but i get same message with lastest ...
Read more >
System.Net.Ping 4.3.0
Provides the System.Net.NetworkInformation.Ping class, which allows an application to determine whether a remote computer is accessible over ...
Read more >
Make apt install ignore missing packages
1 Answer 1 ... Ignore missing packages; if packages cannot be retrieved or fail the integrity check after retrieval (corrupted package files), ...
Read more >
dpkg warning files list file for package missing
I tried to install a package and it did, and it appears to work just fine. However when I installed it I got...
Read more >
Troubleshooting NuGet Package Restore in Visual Studio
Use NuGet Package Restore to download them. The missing file is {name}. This error occurs when you attempt to build a project that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found