The SPKL Task Runner facilitates automated deployment for Dynamics 365 CE,unpacking CRM solution, generating early bound classes etc more details can be found here. The following section briefly highlights the usage of spkl tool set.
- Create a VS class library project and search for spkl in Nuget
spkl Task Runner has a dependency on CRM SDK and this is will detected and installed automatically
- Once spkl is installed you will see a series of .bat files and a spkl.json file as shown below. The CRM SDK tool set will be under coretools
Modify the following settings in spkl.json , solution_uniquename will be the pointer to the CRM solution and packagetype will be either unamanged/managed depending on how you want to deploy the CRM solution.
Running unpack.bat connect to CRM instance and download the package within your Visual Studio IDE. Install the following extension for Visual Studio
Once the extension is installed command prompt can be opened from within Visual Studio IDE and invoke unpack.bat
The server configuration will be saved in
Once the solution is extracted the components and associated log will be in the VS project
Deploying to the target environment is achieved by invoking pack+import.bat
Pingback: Spkl Task Runner connecting to CRM Instance | Information Dynamics