Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion spkl/spkl/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ private static void Run(CommandLineArgs arguments)
using (var serviceProxy = new OrganizationServiceProxy(config.OrganizationUri, config.HomeRealmUri, config.Credentials, config.DeviceCredentials))
{
// This statement is required to enable early-bound type support.
serviceProxy.EnableProxyTypes();
// To resolve potential conflicts with proxy types from assemblies to be deployed,
// it's better to specify assembly name explicitly
serviceProxy.EnableProxyTypes(Assembly.Load("SparkleXrm.Tasks"));
serviceProxy.Timeout = new TimeSpan(1, 0, 0);
RunTask(arguments, serviceProxy, trace);
}
Expand Down