This section describes the preferred distribution method when shipping SftStyle/NET with your application. This ensures that your application can be safely installed and use SftStyle/NET even if another vendor has already installed an application which also uses SftStyle/NET.
Distribution of SftStyle/NET is limited to the run-time portion of the product. Redistributable files are listed in the product license agreement. No other files may be distributed.
When distributing SftStyle/NET with your application, only the following files can be distributed with your application royalty-free. These files allow the use of the components and controls with your application. The design-time interface is no longer available once SftStyle/NET is shipped with your application. For additional information regarding distributing the components and controls with your application, see the license agreement.
Important: Redistributable files are located in the SftStyle/NET installation directory (\Program Files (x86)\Softelvdm\SftStyle NET 3.0\Redist\).
These files must be shipped with your application if SftStyle/NET is used:
| File Name | Description |
|---|---|
| Softelvdm.SftStyleNET.dll | Required. SftStyle/NET assembly. |
.NET Framework applications ship the assembly from the Redist directory. When a .NET 10 application is built, the assembly for .NET 10 is copied from the SftStyle/NET NuGet package to the application's output folder; ship that copy (see Using SftStyle/NET with .NET 10).
Every application that uses SftStyle/NET has an SftStyle component on its main form, also an application that uses only SftMessageBox, SftTaskDialog or sliders created in code, or it creates one in code and loads its license with SftStyle.SetContents. The Visual Studio designer saves the license with the component, and that license allows the application to use every SftStyle/NET class on the end user's machine (see Licensing and Contents).
When distributing SftStyle/NET with a .NET Framework application, the SftStyle/NET assembly can optionally be registered in the Global Assembly Cache (GAC). This is not required. The Gacutil tool is used to register assemblies in the Global Assembly Cache. For more information about the Global Assembly Cache, please see the .NET Framework Developer's Guide.