diff --git a/src/DynamoCore/Configuration/ExecutionSession.cs b/src/DynamoCore/Configuration/ExecutionSession.cs index 3848d83cbe3..1231a817d3c 100644 --- a/src/DynamoCore/Configuration/ExecutionSession.cs +++ b/src/DynamoCore/Configuration/ExecutionSession.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.IO; using Dynamo.Interfaces; @@ -26,6 +26,7 @@ public ExecutionSession(Scheduler.UpdateGraphAsyncTask updateTask, DynamoModel m parameters[ParameterKeys.LastExecutionDuration] = new TimeSpan(updateTask.ExecutionEndTime.TickCount - updateTask.ExecutionStartTime.TickCount); parameters[ParameterKeys.PackagePaths] = pathManager.PackagesDirectories; parameters[ParameterKeys.Logger] = model.Logger; + parameters[ParameterKeys.PreferenceFilePath] = pathManager.PreferenceFilePath; } /// diff --git a/src/NodeServices/ExecutionSession.cs b/src/NodeServices/ExecutionSession.cs index 9013a50d2c8..363951ec445 100644 --- a/src/NodeServices/ExecutionSession.cs +++ b/src/NodeServices/ExecutionSession.cs @@ -81,6 +81,10 @@ public class ParameterKeys /// The return value is an ILogger /// public static readonly string Logger = nameof(Logger); - + + /// + /// The path to the preference file that is being used by Dynamo. + /// + public static readonly string PreferenceFilePath = nameof(PreferenceFilePath); } }