Skip to content

[Cherry-pick] DYN-9680 Crash DynamoSettingsXML#16630

Merged
zeusongit merged 1 commit intoRC4.0.0_masterfrom
cherrypick-16614
Oct 23, 2025
Merged

[Cherry-pick] DYN-9680 Crash DynamoSettingsXML#16630
zeusongit merged 1 commit intoRC4.0.0_masterfrom
cherrypick-16614

Conversation

@github-actions
Copy link

Cherry-pick of #16614 to RC4.0.0_master

Purpose

Fixing crash happening when running Dynamo (located in C:\Dynamo) as First Run
When running DynamoSandbox on C:\Dynamo was crashing due that the code was using the method Directory.GetParent() when the result was null (due that there was no two level parent), so I had to add code to make a difference between DynamoSandbox or Dynamo over a host. Then DynamoSettings.xml will be read optionally from C:\ProgramData\Dynamo when using Sandbox and from C:\ProgramData\Autodesk\RVT 2027 when using a host like Revit 2027.

Declarations

Check these if you believe they are true

Release Notes

Fixing crash happening when running Dynamo (located in C:\Dynamo) as First Run

Reviewers

@QilongTang @zeusongit

FYIs

@jnealb

Co-authored-by: Aaron (Qilong) <[email protected]>
Co-authored-by: Copilot <[email protected]>
(cherry picked from commit fd583dc)
@zeusongit zeusongit merged commit 2f396d4 into RC4.0.0_master Oct 23, 2025
9 of 12 checks passed
@zeusongit zeusongit deleted the cherrypick-16614 branch October 23, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants