-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrations.XML is not working #9076
Comments
@aliasguru can you confirm what type of file you are trying to migrate - a json or xml based file? But this does not take into account packages which might migrate between dynamo versions. 😬 . |
@mjkkirschner Hm that would start to make sense. I'm not trying to migrate from an old Dynamo version. In fact, I only want to change a namespace. I had placed a node in a certain package, and now want to move it to a different one. My understanding of the migration was that it would be evaluated any time I open a node tree, instead of only if the Dynamo version which the node tree was created in differs from the version that it is opened with. It's just because the node trees I'm testing my nodes with can become complex, and it's tedious to re-hook all those unresolved nodes. |
Tracked internally as QNTM-5547 |
please reopen if this is not fixed for you in 2.1. |
So I've followed the instructions in here but no dice either. Furthermore, the documentation is confusing, since this Wiki says:
while this page says:
So which one is it: the name of the DLL or the Namespace? Thanks ahead of time for your help. |
looks like it uses the library name:
I would use the filename of the dll - for a lot of our internal migrations it's not super clear because they are the same - but glancing at the code looks like dll name to me - can you post your migration file? Are you making a package? Where is your migration when you load your dll? How are you loading your dll etc. |
Thanks for the reply @mjkkirschner . I'm making a ZeroTouch node and loading it by simply having it in My migration file is in exactly the same folder as my dll: My migration file looks something like this: Do you think that it's because I'm loading it directly by putting it in "packages" that it's not migrating? |
try this -
|
Thanks @mjkkirschner , my dll and migration.xml are both in the /bin folder. I was doing it this way to facilitate & expedite debugging and deployment of the ZeroTouch node. |
Dynamo version
2.1.0.5903
Operating system
Windows 10
What did you do?
I've posted the question already here in the Forum, but got no answer so far:
https://forum.dynamobim.com/t/how-to-properly-use-migrations-xml-with-a-zerotouch-nodes-package/25199
Basically, I have followed the steps in https://github.com/DynamoDS/Dynamo/wiki/Zero-Touch-Plugin-Development#migrations to set up a migrations.xml file. But even though the file name, the file location, and the given package paths are correct, the nodes in question in the node tree are being shown as "Unresolved" when I open the Dynamo file.
What did you expect to see?
no errors, node tree should continue to work
What did you see instead?
unresolved nodes
The text was updated successfully, but these errors were encountered: