Edit

Visual Studio and the .NET platform

Dynamics 365 for Customer Engagement For code development, the available SDK for .NET assemblies supports targeting .NET Framework or .NET Core. This article describes the supported code development and target frameworks.

Client and service development using .NET Framework

Build custom client applications or services by using Microsoft .NET Framework 4.6.2 (or newer version).

Starting with the Dynamics 365 for Customer Engagement apps version 9.0, only applications that use Transport Layer Security (TLS) 1.2 or better security can connect. Enforcement of this higher standard for security currently applies only to Dynamics 365 for Customer Engagement apps version 9.0. If your clients are designed to connect to any version or deployment type, prepare by recompiling the application to use a supported development platform.

For a list of compatible target frameworks, see the Frameworks tab of the SDK NuGet package named Microsoft.CrmSdk.CoreAssemblies.

More information: Blog Post: Updates coming to Dynamics 365 Customer Engagement (on-premises) connection security

Client and service development using .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.

For a list of compatible target frameworks, see the Frameworks tab of the SDK NuGet package named Microsoft.PowerPlatform.Dataverse.Client.

Tip

When you install the .NET platform on your development computer, be sure to install the developer pack or SDK and not just the runtime. When you install the developer pack or SDK, you can choose the .NET platform in the New Project dialog box of Visual Studio and in the target drop-down menu of the project’s properties.

Plug-in and custom workflow activity development

To extend the run-time capabilities of Dynamics 365 for Customer Engagement, build event handlers called plug-ins and custom workflow activities that target .NET Framework 4.6.2 through 4.8.

Important

Sandbox support is now available for plug-ins and custom workflow activities that target .NET Framework 4.8. Existing projects that target .NET Framework 4.6.2 continue to be supported. However, update your existing code to target 4.8 for improved security and other new features.

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