diff --git a/Directory.Packages.props b/Directory.Packages.props
index d7213f849..43f65d640 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -19,7 +19,7 @@
-
+
@@ -30,7 +30,7 @@
-
+
diff --git a/samples/Correlation.Samples/Correlation.Samples.csproj b/samples/Correlation.Samples/Correlation.Samples.csproj
index 4ad6588de..18806eea4 100644
--- a/samples/Correlation.Samples/Correlation.Samples.csproj
+++ b/samples/Correlation.Samples/Correlation.Samples.csproj
@@ -3,6 +3,7 @@
Exe
net6.0
+ true
diff --git a/samples/DistributedTraceSample/ApplicationInsights/ApplicationInsightsSample.csproj b/samples/DistributedTraceSample/ApplicationInsights/ApplicationInsightsSample.csproj
index efbc910c6..8817871b9 100644
--- a/samples/DistributedTraceSample/ApplicationInsights/ApplicationInsightsSample.csproj
+++ b/samples/DistributedTraceSample/ApplicationInsights/ApplicationInsightsSample.csproj
@@ -6,6 +6,7 @@
enable
d4d9b2e3-fb2a-4de6-9747-3d6d3b639d1a
dummy-value
+ true
diff --git a/samples/DistributedTraceSample/OpenTelemetry/OpenTelemetrySample.csproj b/samples/DistributedTraceSample/OpenTelemetry/OpenTelemetrySample.csproj
index 970d3b7fc..fc10db97c 100644
--- a/samples/DistributedTraceSample/OpenTelemetry/OpenTelemetrySample.csproj
+++ b/samples/DistributedTraceSample/OpenTelemetry/OpenTelemetrySample.csproj
@@ -4,6 +4,7 @@
Exe
net6.0
enable
+ true
diff --git a/src/DurableTask.AzureStorage/DurableTask.AzureStorage.csproj b/src/DurableTask.AzureStorage/DurableTask.AzureStorage.csproj
index 8ff135fbd..0dbce5058 100644
--- a/src/DurableTask.AzureStorage/DurableTask.AzureStorage.csproj
+++ b/src/DurableTask.AzureStorage/DurableTask.AzureStorage.csproj
@@ -45,7 +45,7 @@
-
+
diff --git a/src/DurableTask.AzureStorage/OrchestrationSessionManager.cs b/src/DurableTask.AzureStorage/OrchestrationSessionManager.cs
index 51a6e07ba..30da0fca6 100644
--- a/src/DurableTask.AzureStorage/OrchestrationSessionManager.cs
+++ b/src/DurableTask.AzureStorage/OrchestrationSessionManager.cs
@@ -273,7 +273,7 @@ async Task> DedupeExecutionStartedMessagesAsync(
// "Remote" -> the instance ID info comes from the Instances table that we're querying
IAsyncEnumerable instances = this.trackingStore.GetStateAsync(instanceIds, cancellationToken);
IDictionary remoteOrchestrationsById =
- await instances.ToDictionaryAsync(o => o.OrchestrationInstance.InstanceId, cancellationToken);
+ await instances.ToDictionaryAsync(o => o.OrchestrationInstance.InstanceId, StringComparer.Ordinal, cancellationToken);
foreach (MessageData message in executionStartedMessages)
{
diff --git a/tools/DurableTask.props b/tools/DurableTask.props
index a489b6589..5c642ab7c 100644
--- a/tools/DurableTask.props
+++ b/tools/DurableTask.props
@@ -15,6 +15,7 @@
true
embedded
false
+ true