We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do I modify the existing Syncfusion Source code and use that in my application?

 

All the Syncfusion dlls are signed with a Syncfusion private key. Hence, to use a modified source code, the Syncfusion Source code has to be built with your company private key for all the dependencies.

For example-For Tools.Windows, you will be using the following dlls's list:

1. Syncfusion.Core

2. Syncfusion.Shared.Base

4. Syncfusion.Grid.Base

6. Syncfusion.Tools.Base

3. Syncfusion.Shared.Windows

5. Syncfusion.Grid.Windows

7. Syncfusion.Tools.Windows

Source of the dlls listed above can be found under the following path:

${install_drive}:\Program Files\Syncfusion\Essential Studio\${version}

Modifying AssemblyInfo.cs files

1. Make the following modifications to the AssemblyInfo.cs files of each source:

[assembly: AssemblyDelaySign(false)]

[assembly: AssemblyKeyFile(@"c:\keys\my_company_pri_key.snk")]

Notes:

a. Source for Syncfusion.Core is not available as it is a licensing dll built with a separate private key. This pre-built dll can be shipped to any machine without modification, hence building this dll can be ignored. This dll can be used to build other dlls.

b. All the dlls that to be used in the project should be built using the modifications mentioned above.

c. The process should be started from Syncfusion.Shared.Base dll and continued in order.

Any of the following two approaches can be used to build the Tools.Windows related Syncfusion assembly references:

Approach 1-Manual Approach

Follow the procedure below to build the assemblies for Tools.Windows dll dependencies:

1. Open Dashboard --> Assembly Management --> Run Assembly Manager.

Note: The Syncfusion Assembly Manager (Version) window is displayed.

2. Under the Actions group box, click Remove all versions.

3. Click Perform Action.

Note: All the Syncfusion assemblies saved on your system are cleared.

4. Drag and drop the Syncfusion.Core dll to the GAC.

Note: Syncfusion.Core dll can be used from the current shipping assembly saved under the path-

C:\Program Files\Syncfusion\Essential Studio\7.3.0.20\precompiledassemblies\7.3.0.20\3.5.

Let us take building Syncfusion.Shared.Base dll as an example.

5. Modify the AssemblyInfo.cs settings in all the source files. Refer Modifying AssemblyInfo.cs files.

6. Build the Syncfusion.Shared.Base project.

Note: Following two projects are available in the project folder:

a. *_2005.csproj – Will be useful when used in Visual Studio 2005.

b. *_2008.csproj – Will be useful when used in Visual Studio 2008.

7. Move the Syncfusion.Shared.Base dll to a separate location.

8. Drag and drop the dll from there in to the GAC.

Note: The  Public Key Token should have been changed based on your company private key.

The Syncfusion.Shared.Base dll is successfully built.

Steps 6-9 mentioned above can be repeated to build all the Tools.Windows related Syncfusion assembly references (refer dlls's list) required for the project, in order.

Approach 2-Using Build Manager

 

The dlls can also be built using a Build Manager. This avoids the need to create the dlls one by one. Follow the instructions provided below to build dlls using Build Manager:

1. Modify the AssemblyInfo.cs settings in all the source files. Refer Modifying AssemblyInfo.cs files.

2. Open Dashboard --> Assembly Management --> Run Assembly Manager.

Note: The Syncfusion Assembly Manager (Version) window is displayed.

3. Under the Actions group box, click Remove all versions.

4. Click Perform Action.

Note: All the Syncfusion assemblies saved on your system are cleared.

5. Open Dashboard --> Run Build Manager.

Note: The Syncfusion Build Manager (Version) window is displayed.

6. Under the Framework Version group box, click the required .NET Framework.

7. Under the Product group box, select the required product from the drop-down list box.

8. Under the Assembly Type group box, click the required assembly type.

10. Click Perform Build.

Note: All the required Syncfusion assemblies are built in order.

The set of assemblies built can now be used in your project. You can locate the new set of assemblies under,

${Install Drive}:\Program Files\Syncfusion\Essential Studio\${version}\UserAssemblies folder.

Note:

If the private key setting of any one of the assemblies is modified, the rest of the assemblies (to be used in the project) should be built with the same key.

Article ID: Published Date: Last Revised Date: Platform: Control:
2408 08/06/2014 08/06/2014 Miscellaneous Install and Configuration
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon