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?
@cleon brown This seems to be a deployment issue rather than a code error. What are you using to deploy your application?
Sign in to comment
Deployment? I am using Visual Studio built in publisher. Then during installation, it fails because of the missing dll.
Here is a solution to handle the issue. Maybe this can help you.