Edit

Visual Studio and the .NET Framework

Dynamics 365 for Customer Engagement code development using the provided SDK for .NET assemblies target .NET Framework. You can use Visual Studio to build your managed code applications using .NET Framework version 4.6.2 (or newer versions). For a list of compatible target frameworks, see the Frameworks tab of the SDK NuGet package named Microsoft.CrmSdk.CoreAssemblies.

Client app and service development

You should build any custom client applications using Microsoft .NET Framework 4.6.2 or newer compatible versions. Starting with the Dynamics 365 for Customer Engagement apps version 9.0, only applications using Transport Level Security (TLS) 1.2 or better securrity are permitted to connect. TLS 1.2 isn't the default protocol used by .NET Framework 4.5.2, but it is in .NET Framework 4.6.2.

Enforcement of this higher standard for security is only applied to Dynamics 365 for Customer Engagement apps version 9.0 at this time. If your clients are designed to connect to any version or deployment type, you can prepare by recompling the application to use .NET Framework 4.6.2. More information: Blog Post: Updates coming to Dynamics 365 Customer Engagement (on-premises) connection security

.NET Core

The SDK APIs available in Microsoft.CrmSdk.CoreAssembly and other "Microsoft.CrmSdk" NuGet packages don't support .NET Core code development. However, code development for a .NET Framework or .NET Core build target is available when using the Microsoft.PowerPlatform.Dataverse.Client NuGet package, which contains the same namespaces as Microsoft.CrmSdk.CoreAssembly.

Tip

When installing a framework on your development computer, be sure to install the developer pack and not just the run-time. Installing the developer pack enables the framework to be chosen in the New Project dialog box of Visual Studio and in the target framework drop-down menu of the project’s properties.

Plug-in and custom workflow activity development

Event handlers called plug-ins and custom workflow activities, used to extend the run-time capabilities of Dynamics 365 for Customer Engagement, must only be built to target .NET Framework 4.6.2.

Note

Official Microsoft support for .NET Framework 4.6.2 ends on January 12, 2027. We intend to introduce Dataverse plug-in support for the .NET Framework 4.8 runtime by June 2026.

More information: Write plug-ins to extend business processes

See Also

Support for .NET Framework versions
Supported Extensions for Dynamics 365 Customer Engagement (on-premises)</br/> Developer Tools