-
Notifications
You must be signed in to change notification settings - Fork 17
Development
This page describes how the solution was developed and what utilities were used.
The current Dynamics 365 (CRM) utility has been developed using the next tools:
As part of the Dynamics 365 (CRM) SDK, you can download this utility for Visual Studio which allows to develop extensions quicker. Currently this toolkit is only compatible with Visual Studio 2015, but you can trick it and make it compatible with Visual Studio 2017 as well, see the next article.
To test the code here developed, we have used the testing framework xRM Test Framework that provides some great facilities to test custom workflow activities and plugins. Please note this framework has 2 additional dependencies:
Currently the solution has been tested with more than 35 programmatic tests, including unit tests and integration tests. So every time a new change is added, these tests are run again and they make sure nothing else breaks.
If you download the code and you get the following error "Unable to load odbcji32.dll" running some of the unit tests using the ODBC data driver, just install this Access component.
The code has a reference to the library Json.NET, which allows to serialise the parameters that can be passed to the email that is going to be generated.
ILMerge has been used to adapt the Dynamics 365 Developer Toolkit and merge the common library with the workflow assembly, as well as any required third party library like Json.NET.
Dynamics Custom Emails - A Dynamics 365 (CRM) utility