Skip to content

Conversation

@RobertGlobant20
Copy link
Contributor

Purpose

If you previously used Dynamo 4.0.0 and now with the previous fix try to use it, you will see that is loading packages from C:\ProgramData\Dynamo\Dynamo Core\4.0\packages. The problem is that DynamoSettings.xml in C:\Users\tellro\AppData\Roaming\Dynamo\Dynamo Core\4.0 already contains the entry for ProgramData then you need to delete the Dynamo cache in order to verify my fix.
With this fix doesn't matter if the Dynamo cache was deleted or not, now it won't be loading any package from the ProgramData path.

Declarations

Check these if you believe they are true

Release Notes

Fixing problem that is loading packages from ProgramData due that a previous version of Dynamo that doesn't have my fix was used

Reviewers

@reddyashish @zeusongit @QilongTang

FYIs

f you previously used Dynamo 4.0.0 and now with the previous fix try to use it, you will see that is loading packages from C:\ProgramData\Dynamo\Dynamo Core\4.0\packages.
The problem is that DynamoSettings.xml in C:\Users\tellro\AppData\Roaming\Dynamo\Dynamo Core\4.0 already contains the entry for ProgramData then you need to delete the Dynamo cache in order to verify my fix.
With this fix doesn't matter if the Dynamo cache was deleted or not now it won't be loading any package from the ProgramData path.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-9244

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue where Dynamo continues to load packages from the ProgramData directory even after a previous fix was intended to prevent this behavior. The problem occurs when users upgrade from older Dynamo versions that have ProgramData entries cached in their DynamoSettings.xml file.

Key Changes:

  • Enhanced package directory filtering to explicitly exclude ProgramData paths
  • Added programmatic detection of the ProgramData folder path using Environment.GetFolderPath

@RobertGlobant20
Copy link
Contributor Author

GIF showing the expected behavior of not loading package even if we have the entry in DynamoSettings.xml
notepad++_Nn1i5bVjEr

@QilongTang
Copy link
Contributor

@RobertGlobant20 Wanna check the Copilot PR review comments?

Implementing fixes suggested by GitHub Copilot.
Copy link
Contributor

@QilongTang QilongTang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment then LGTM

@QilongTang
Copy link
Contributor

@RobertGlobant20 Please merge master into this branch

@QilongTang
Copy link
Contributor

@QilongTang
Copy link
Contributor

@QilongTang QilongTang merged commit 3394c6d into DynamoDS:master Sep 22, 2025
24 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants