Release Notes v4 - phuocle/Dynamics-Crm-DevKit GitHub Wiki
Release Notes - DynamicsCrm.DevKit v4
Overview
DynamicsCrm.DevKit v4 represents a major update to the Dynamics 365 / Dataverse development toolkit, bringing modernized templates, improved tooling, and enhanced developer experience.
What's New in v4
Project Templates (12 Templates)
- Shared Project - Common shared code library
- Console Project - .NET Framework console applications
- Console Core Project ? NEW - .NET Core console applications for cross-platform support
- Server Project - Server-side components
- Package Project - Solution package deployment
- WebResource Project - Web resources (JS, CSS, HTML)
- Shared Test Project - Shared test utilities
- ProxyTypes Project - Early-bound entity classes
- Test Project - Unit testing project
- Ui Test Project - UI testing with EasyRepro
- Solution Packager Project - Solution unpacking/packing
- Report Project - SSRS reports
Item Templates (13 Templates)
- Late Bound Class - Late-bound entity helper classes
- JavaScript Form - Form scripts with IntelliSense
- JavaScript WebApi - WebAPI client with type definitions
- Plugin Class - Plugin development
- Custom Action Class - Custom Action development
- Custom Api Class - Custom API development
- Workflow Class - Workflow activity development
- Data Provider Class - Virtual entity data provider
- Test Class - Unit test classes
- Test Ui Class - UI test classes
- Resource String - Localization resources
- JavaScript devkit.js - DevKit JavaScript library
- Bat File ? NEW - Batch file templates
Key Improvements
Modernization
- ? Added .NET Core project template support
- ? Updated to latest SDK versions
- ? Modern project SDK format
- ? Improved async/await patterns
- ? Enhanced TypeScript definitions
Developer Experience
- ? Better IntelliSense support
- ? Improved error handling
- ? Enhanced debugging experience
- ? Updated code generation templates
- ? Better integration with Visual Studio 2022
Build System
- ? MSBuild integration improvements
- ? Updated NuGet package references
- ? Better solution structure
- ? Improved build performance
Breaking Changes
- Project template numbering has been reorganized
- Some templates merged or renamed for better clarity
- .NET Framework 4.6.2, 4.8 and .NET Standard 2.0 remain as target frameworks
Migration from v3
Project Templates
- Plugin Project, Workflow Project, Custom Action Project, Custom Api Project, and Data Provider Project have been consolidated into the Server Project template
- Console Shared Project is now Console Project
- New Console Core Project for .NET Core applications
Item Templates
- Templates renumbered but functionality remains the same
- New Bat File template added for deployment scripts
System Requirements
- Visual Studio 2022 (Enterprise, Professional, or Community)
- .NET Framework 4.6.2 or higher
- .NET Standard 2.0 SDK
- .NET Core SDK (for Console Core projects)
Getting Started
- Install DynamicsCrm.DevKit v4 from Visual Studio Marketplace
- Review updated Projects Template documentation
- Check Items Template for available item templates
- See Tutorials for step-by-step guides
Additional Resources
Feedback
Please report any issues or suggestions on the GitHub repository.