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)

  1. Shared Project - Common shared code library
  2. Console Project - .NET Framework console applications
  3. Console Core Project ? NEW - .NET Core console applications for cross-platform support
  4. Server Project - Server-side components
  5. Package Project - Solution package deployment
  6. WebResource Project - Web resources (JS, CSS, HTML)
  7. Shared Test Project - Shared test utilities
  8. ProxyTypes Project - Early-bound entity classes
  9. Test Project - Unit testing project
  10. Ui Test Project - UI testing with EasyRepro
  11. Solution Packager Project - Solution unpacking/packing
  12. Report Project - SSRS reports

Item Templates (13 Templates)

  1. Late Bound Class - Late-bound entity helper classes
  2. JavaScript Form - Form scripts with IntelliSense
  3. JavaScript WebApi - WebAPI client with type definitions
  4. Plugin Class - Plugin development
  5. Custom Action Class - Custom Action development
  6. Custom Api Class - Custom API development
  7. Workflow Class - Workflow activity development
  8. Data Provider Class - Virtual entity data provider
  9. Test Class - Unit test classes
  10. Test Ui Class - UI test classes
  11. Resource String - Localization resources
  12. JavaScript devkit.js - DevKit JavaScript library
  13. 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

  1. Install DynamicsCrm.DevKit v4 from Visual Studio Marketplace
  2. Review updated Projects Template documentation
  3. Check Items Template for available item templates
  4. See Tutorials for step-by-step guides

Additional Resources

Feedback

Please report any issues or suggestions on the GitHub repository.