MapControl with Winform
Im working with a Winform Application that contains a Host Element with child UserControl with a Mapcontrol. I am able to debug/start the application just fine; however, when I try to publish the application I received the following error when trying to install it: "Downloading file:///C:/Users/xxx/Documents/Visual Studio 2019/Projects/WindowsFormsApp1/publish/Application Files/WindowsFormsApp1_1_0_0_12/Microsoft.Toolkit.Win32.UI.XamlHost.dll.deploy did not succeed." and
"+ Could not find file 'C:\Users\xxx\Documents\Visual Studio 2019\Projects\WindowsFormsApp1\publish\Application Files\WindowsFormsApp1_1_0_0_12\Microsoft.Toolkit.Win32.UI.XamlHost.dll.deploy'."
the second error is because of the first. Can you assist me in determine the cause of this issue?