IT-Admin-Toolkit-WinUI
IT-Admin-Toolkit-WinUI copied to clipboard
Publish Single File Causes App Crash When Pinging Machine
Machine ping functionality causes an unexpected app crash when published as a single file.
As of right now, publishing without the single file option prevents the crash:
<Project>
<PropertyGroup>
<PublishProtocol>FileSystem</PublishProtocol>
<Platform>x64</Platform>
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
<PublishDir>C:\publishdir</PublishDir>
<SelfContained>true</SelfContained>
<PublishReadyToRun>false</PublishReadyToRun>
<PublishTrimmed>false</PublishTrimmed>
<Configuration>Release</Configuration>
<TargetFramework>net6.0-windows10.0.19041.0</TargetFramework>
<PublishSingleFile>false</PublishSingleFile>
</PropertyGroup>
</Project>