New to Telerik UI for WinForms? Download free 30-day trial

ClickOnce Application is Broken


Product Version Product Author
2020.2.616 Telerik UI for WinForms Desislava Yordanova


There are different approaches for application deployment. One of the most commonly used is ClickOnce. Note that declaring DPI awareness in the app.manifest file breaks ClickOnce applications. There is a know issue regarding the ClickOnce installer when reading the manifest. Please refer to the following MSDN thread.

ClickOnce error message

clickonce-application-is-broken 001


The suggested way to avoid this is only available if your project's target framework is .NET 4.7 and your application run on a Windows 10 Creators update (1703) or newer. It requires you to have an app.manifest and an app.config files added to your project.

Inside the config file you should have the following settings:

<?xml version="1.0" encoding="utf-8"?>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/>
    <add key="DPIAwareness" value="PerMonitorV2"/>
    <add key="DisableDpiChangedMessageHandling" value="True" />

and inside the manifest file you should declare your app is compatible with Windows 10:

<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="" name=""/>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
   <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />

An alternative approach which I believe is the easiest way to redistribute Telerik assemblies in case of commercial WinForms applications deployed to your end users is to deploy the Telerik assemblies together with your application with the sole exception of the Telerik.WinControls.UI.Design.dll assembly.

The Telerik.WinControls.UI.Design.dll assembly may not be deployed to end-users under any circumstance.

See Also

In this article