简体   繁体   中英

Dynamics 365 Plugin Dev Tools

What tools are you using for CRM plugin development?

I used both "Dynamics 365 Developer Toolkit" and "Dynamics 365 Developer Extensions" previously. Unfortunately, The "Dynamics 365 Developer Toolkit" no longer works reliably for me in VS 2019 (yes, I followed the steps to update the vsix file). I looks like Jason Lattimer's has stopped making the "Dynamics 365 Developer Extensions".

Thanks!

You can take a look on Scott Durow's spkl - https://github.com/scottdurow/SparkleXrm/wiki/spkl

I suggest you to let go of those tools and go with a more DevOps oriented approach. The tool across the years has been at best unreliable, the naming convetion of the classes generated is not what you would like to have in a decent size project, compatibility in multiple versions of Visual Studio, as you saw is unreliable.

Personally I use none, but rely on an Azure DevOps pipeline to deploy everything.

For client side development I heavily use Fiddler 4 with auto responder rules with a local webpack devserver. I am not sure how to improve this process much more.

For serverside Plugins I prefer using ILMerge Build Tasks (check nuget) and separate the IPlugin interface implementation from my code so I can easily write unit tests for that. I do not use testing libraries like EasyRepro or XrmFakeEasy. I don't think they add a big benefit and more or less negate one of the best effects of unit testing. Creating good testable code.

For plugin deployment I currently use spkl by Scott Durrow and it is working fine so far.

For generating early bound classes I use a custom.bat file that actually just calls the CrmSvcUtil.exe with a couple of extra.dll files that helps creating enums instead of optionsets.

I am not a huge fan of toolkits or templates that dictate how you have to write your stuff, because most of them embrace bad programming patterns. For example the XrmToolkit forces you to use a certain folder structure for your clientside scripts to not mess up your crm system and so on.

XrmToolkit is a commercial Dynamics 365/CDS development add-on that is actively maintained and supports Visual Studio 2019.

I have been relying on it for years to assist with generating proxy classes, registering and publishing plugins, publishing web resources on save, etc.

I have no affiliation with XrmToolkit.

you can use Microsoft.net framework with visual studio or visual studio code for implement dynamics 365 plugins and register that in plugin registration tools.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM