How to debug Syncfusion source code using the Source Code add-on?
Syncfusion source license is required for downloading and installing the Source Code Add-on installer. If you have source license you can download the source add-on installer from here.
To know more about the Source Code Add-on installation, refer the following documentation link:
https://help.syncfusion.com/common/essential-studio/source-code
Source Code Add-on installer contains the source code of the following Syncfusion platforms:
- ASP.NET Core - Essential JS 1
- ASP.NET MVC - Essential JS 1
- ASP.NET Web - Essential JS 1
- JavaScript - Essential JS 1
- PHP - Essential JS 1
- Portable
- Universal Windows
- Windows Forms
- WPF
- Xamarin
Syncfusion provides the Build Manager utility to compile the Syncfusion sources.
This knowledge base article explains the steps to debug the Syncfusion sources with and without using Build Manager.
1. How to debug the Syncfusion sources using Build Manager
Syncfusion Build Manager utility supports the compilation of the following platform sources:
- ASP.NET Web Forms - Essential JS 1
- ASP.NET MVC - Essential JS 1
- Universal Windows
- Windows Forms
- WPF
To debug the Syncfusion sources, compile it with strong key. Follow the steps provided in the MSDN article to know more about generating the strong key and using it in Syncfusion sources..
https://docs.microsoft.com/en-us/dotnet/framework/app-domains/how-to-create-a-public-private-key-pair
To know more about the Build Manager, refer the following documentation link:
https://help.syncfusion.com/common/essential-studio/source-code#build-manager
Refer the below video to know about how to compile the Syncfusion sources using Build Manager and debug your project.
https://www.youtube.com/watch?v=VC89ELOqouo
2. How to debug the Syncfusion sources manually (for Build Manager not supported platforms)
Syncfusion Build Manager utility do not have the support for the following Syncfusion platforms. For these platforms you need to compile the Syncfusion source projects manually from Visual Studio IDE and debug your project using latest compiled Syncfusion assembly.
- ASP.NET Core - Essential JS 1
- .NET Standard Portable
- Xamarin
- PHP - Essential JS 1
- JavaScript - Essential JS 1
Source Installed Location
Platform | Installed Location |
Xamarin | {ProgramFilesFolder}\Syncfusion\Essential Studio\Source Code Add On\{Version}\Xamarin |
ASP.NET Core - Essential JS 1 | {ProgramFilesFolder}\Syncfusion\Essential Studio\Source Code Add On\{Version}\ASP.NET Core |
.NET Standard Portable | {ProgramFilesFolder}\Syncfusion\Essential Studio\Source Code Add On\{Version}\Portable |
PHP - Essential JS 1 | {ProgramFilesFolder}\Syncfusion\Essential Studio\Source Code Add On\{Version}\PHP |
JavaScript - Essential JS 1 | {ProgramFilesFolder}\Syncfusion\Essential Studio\Source Code Add On\{Version}\JavaScript |
For example, xamarin source folder structure will be:
The Forms directory contains the Xamarin.Forms sources for each control such as Charts, DataGrid, etc.
The Android directory contains Xamarin.Android sources.
The iOS directory contains Xamarin.iOS sources.
The PCL directory contains the Xamarin Portable sources.
Refer the following video to compile the Syncfusion sources manually and debug your project using latest compiled Syncfusion assembly.