MapControl with Winform

cleon brown 1 Reputation point
2020-12-14T04:50:15.03+00:00

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?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,903 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,006 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.