Skip to content
Merged
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
5 changes: 5 additions & 0 deletions src/Particular.PlatformSample/AppLauncher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ void StartProcess(string assemblyPath, Dictionary<string, string> environmentVar
WorkingDirectory = workingDirectory,
UseShellExecute = false
};
// ServiceControl is built to require one exact .NET runtime patch version. Since this is for running samples and not production code,
// let the platform tools run on the latest installed patch of the same major.minor version, so they still start when that exact version
// is not installed.
startInfo.ArgumentList.Add("--roll-forward");
startInfo.ArgumentList.Add("Minor");
// Adding the assembly path to the argument list to prevent the path from being separated in to different arguments
// by the ProcessStartInfo constructor by spaces.
startInfo.ArgumentList.Add(assemblyPath);
Expand Down
Loading