Xar.PluginTester
0.0.1
no support will be provided for this package.
dotnet add package Xar.PluginTester --version 0.0.1
NuGet\Install-Package Xar.PluginTester -Version 0.0.1
<PackageReference Include="Xar.PluginTester" Version="0.0.1" />
paket add Xar.PluginTester --version 0.0.1
#r "nuget: Xar.PluginTester, 0.0.1"
// Install Xar.PluginTester as a Cake Addin #addin nuget:?package=Xar.PluginTester&version=0.0.1 // Install Xar.PluginTester as a Cake Tool #tool nuget:?package=Xar.PluginTester&version=0.0.1
Tools that provide an easy way to debugging plugins for dynamics crm.
You can easily debug your plugins with easy use, if you wish you can write unit tests for your plugins with the advantage of this convenience.
Create a new console or unit test application,
Reference your plugin project,
Define the required variables for your plugin and run your plugin
string connectionString = @"AuthType=Office365;Username=jsmith@contoso.onmicrosoft.com;Password=passcode;Url=https://contoso.crm.dynamics.com"; string primaryEntityName = "contact"; Guid primaryEntityId = Guid.NewGuid(); var target= new Entity(primaryEntityName, primaryEntityId); ParameterCollection inputParameters = new ParameterCollection(); inputParameters.Add("Target", target); ParameterCollection outputParameters = new ParameterCollection(); outputParameters.Add("id", primaryEntityId); new PluginProvider<TestPlugin>() .SetCrmConnectionString(connectionString) .SetPrimaryEntityId(primaryEntityId) .SetPrimaryEntityName(primaryEntityName) .SetInputParameters(inputParameters) .SetOutputParameters(outputParameters) .Execute();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
- Microsoft.CrmSdk.CoreAssemblies (>= 9.0.2.9)
- Microsoft.CrmSdk.XrmTooling.CoreAssembly (>= 9.1.0.21)
- Microsoft.IdentityModel (>= 7.0.0)
- Newtonsoft.Json (>= 9.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
0.0.1 | 834 | 11/25/2019 |
tools that provide an easy way to debugging custom workflow and plugins for dynamics crm.