dotConnect for Salesforce Marketing Cloud Documentation
In This Topic
    NuGet Packages
    In This Topic

    dotConnect for Salesforce Marketing Cloud has three sets of assemblies:

    dotConnect for Salesforce Marketing Cloud also has .NET Standard 2.0 compatible assemblies for Entity Framework 6.3 and Entity Framework Core 3 support on .NET Core 3.0 and higher. .NET Standard compatible assemblies are only available as NuGet packages.

    The dotConnect for Salesforce Marketing Cloud NuGet packages are added to your project from nuget.org as usual, via the Package Manager Console. The dotConnect for Salesforce Marketing Cloud NuGet packages contain .NET Standard compatible assemblies for all the supported .NET Standard versions - 1.3 and 2.0. The corresponding assemblies are selected automatically, depending on the target framework of your project.

    Installing dotConnect for Salesforce Marketing Cloud NuGet Packages

    When you are developing your solutions in not very old Visual Studio versions, it is very easy to add dotConnect for Salesforce Marketing Cloud NuGet packages to your projects. You need simply to open the Package Manager Console by selecting Package Manager Console from the Tools -> NuGet Package Manager menu, and then enter and run the necessary command:

    For projects, using general ADO.NET functionality of dotConnect for Salesforce Marketing Cloud, you need to install the Devart.Data.ExactTarget package. Execute the following command in the Package Manager Console:

    Install-Package Devart.Data.ExactTarget

    For projects, using LinqConnect features of dotConnect for Salesforce Marketing Cloud, you need to install the Devart.Data.ExactTarget.Linq package. Execute the following command in the Package Manager Console:

    Install-Package Devart.Data.ExactTarget.Linq

    For projects, using Entity Framework Core 1, 3, 5, or 6 with Salesforce Marketing Cloud, install the Devart.Data.ExactTarget.EFCore package. Execute the following command in the Package Manager Console:

    Install-Package Devart.Data.ExactTarget.EFCore

    For projects, using Entity Framework Core 1.1, for which you use database-first approach and generate an Entity Framework Core mapping via the Scaffold-DbContext command of Package Manager Console, you need to install the Devart.Data.ExactTarget.EFCore.Design package. Execute the following command in the Package Manager Console:

    Install-Package Devart.Data.ExactTarget.EFCore.Design

    Note that this package is not needed any more for Entity Framework Core 2.0 and higher. All the needed functionality Entity Framework Core 2.0 and higher is included to the Devart.Data.ExactTarget.EFCore package.

    For projects, working with spatial data in Entity Framework Core 3 with Salesforce Marketing Cloud, install the Devart.Data.ExactTarget.EFCore.NetTopologySuite package. Execute the following command in the Package Manager Console:

    Install-Package Devart.Data.ExactTarget.EFCore.NetTopologySuite

    For projects, using Entity Framework 6.4 with Salesforce Marketing Cloud on .NET Core 3, the Devart.Data.ExactTarget.EF6 NuGet package should be installed. Execute the following command in the Package Manager Console:

    Install-Package Devart.Data.ExactTarget.EF6

    There also are Visual Studio extensions for earlier Visual Studio versions. If you use some other tool than Visual Studio, you can get NuGet packages with the nuget.exe console tool.

    Note that .NET Standard 2.0 compatible assembly for Entity Framework Core 2, Devart.Data.ExactTarget.Entity.EFCore.dll, is not available via NuGet packages. It is installed to your computer with the dotConnect for Salesforce Marketing Cloud installer, and you can get it from the \Entity\EFCore2\netstandard2.0\ subfolder of the dotConnect for Salesforce Marketing Cloud installation folder.

    See Also

    .NET Standard Compatibility