Skip to content

Commit d99fded

Browse files
committed
Refactoring
1 parent 89917f9 commit d99fded

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

deployment-and-distribution/redistributing-telerik-ui-for-winforms.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,20 @@ The Telerik UI for WinForms suite includes a limited run time royalty-free licen
3232
For additional usage requirements, development restrictions and, defined term definitions, please refer to the WinForms [license agreement]({%slug winforms/licensing/license-agreement%}). For uses that require additional review, please send e-mail to <a href="mailto:[email protected]?subject=Redistributing Telerik UI for WinForms">[email protected]</a> to discuss your planned use of the controls.
3333

3434

35-
## .Net Redistributions
35+
## .NET Redistributions
3636

37-
.NET Core allows you to publish applications as self-contained, bundling the runtime and dependencies into a single folder, or even as a single file executable. This approach eliminates the need for additional tools, as everything is already packaged together during the publish process, simplifying deployment and reducing complexity. Deploying your .Net project is futher described in the [Deploying WinForms .NET Core Application]{%slug winforms/virtualgrid/getting-started%})
37+
.NET Core allows you to publish applications as self-contained, bundling the runtime and dependencies into a single folder, or even as a single file executable. This approach eliminates the need for additional tools, as everything is already packaged together during the publish process, simplifying deployment and reducing complexity. Deploying your .NET project is futher described in the [Deploying WinForms .NET Core Application]({%slug winforms/virtualgrid/getting-started%})
3838

39-
## .Net Framework Redistributions
39+
## .NET Framework Redistributions
4040

4141
In the following section, we will demonstrate various methods to protect assemblies in the .NET Framework.
4242

4343
### Merging all assemblies into one
4444

45+
#### Using ILRepack
46+
47+
__ILRepack__ is similar to ILMerge tool. __ILMerge__ and __ILRepack__ are tools used to merge multiple .NET assemblies into a single output assembly, but ILRepack is the preferred choice for modern development. While __ILMerge__, developed by Microsoft, works well for older .NET Framework projects, it lacks support for newer .NET versions and is no longer actively maintained. In contrast, __ILRepack__ is an open-source, offering compatibility with .NET Core, .NET 5+, and even non-Windows platforms. Its active development ensures support for the latest .NET ecosystems, providing greater flexibility and reliability. For more information regarding ILRepack tool set-up, please refer to its GitHub repository. [ILRepack](https://github.com/gluck/il-repack)
48+
4549
#### Using ILMerge
4650

4751
>caution The ILMerge project is deprecated and is no longer maintained. You can consider using its successor: [ILRepack]({%slug installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows/ILRepack%})
@@ -122,10 +126,6 @@ Next, you should build your solution and then ILMerge the built application exec
122126

123127
The MergedApplicationExecutable.exe is now a stand-alone application executable that does not need any additional references to the Telerik assemblies.
124128

125-
#### Using ILRepack
126-
127-
__ILRepack__ is similar to ILMerge tool. __ILMerge__ and __ILRepack__ are tools used to merge multiple .NET assemblies into a single output assembly, but ILRepack is the preferred choice for modern development. While __ILMerge__, developed by Microsoft, works well for older .NET Framework projects, it lacks support for newer .NET versions and is no longer actively maintained. In contrast, __ILRepack__ is an open-source, offering compatibility with .NET Core, .NET 5+, and even non-Windows platforms. Its active development ensures support for the latest .NET ecosystems, providing greater flexibility and reliability. For more information regarding ILRepack tool set-up, please refer to its GitHub repository. [ILRepack](https://github.com/gluck/il-repack)
128-
129129
### Building the Telerik assemblies from Source Code
130130

131131
#### Using the OemAssemblyName
@@ -195,6 +195,7 @@ This section demonstrates how to deploy a project with a public token key. We wi
195195
![installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows 006](images/installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows006.png)
196196

197197
After:
198+
198199
![installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows 007](images/installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows007.png)
199200

200201
1. Open C:\Telerik UI for WinForms Source\RadControl\TPF\Control\ RadControl.cs in a text editor (notepad, Visual Studio etc).
@@ -203,8 +204,11 @@ This section demonstrates how to deploy a project with a public token key. We wi
203204
1. Delete the value of the OemPublicKeyToken:
204205

205206
Before:
207+
206208
![installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows 008](images/installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows008.png)
207-
After:
209+
210+
After:
211+
208212
![installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows 009](images/installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows009.png)
209213

210214
1. Open your project and go to *Properties*, then select the *Signing* tab.
@@ -220,10 +224,10 @@ This section demonstrates how to deploy a project with a public token key. We wi
220224
1. Execute the following command with a parameter the route to your assembly.
221225
![installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows 012](images/installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows012.png)
222226

223-
1. Copy the generated public key token.
227+
1. Copy the generated public key token.
224228
![installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows 013](images/installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows013.png)
225229

226-
1. Return to the RadControlsVS2010 solution, open the RadControl.cs file and set the OemPublicKeyToken to equal the value of the newly generated key token.
230+
1. Return to the RadControlsVS2010 solution, open the RadControl.cs file and set the OemPublicKeyToken to equal the value of the newly generated key token.
227231
![installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows 014](images/installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows014.png)
228232

229233
1. Build the solution.

0 commit comments

Comments
 (0)