RobertGlobant20 / issues_action

Test for creating GitHub issues actions
0 stars 0 forks source link

Package publishing #621

Open RobertGlobant20 opened 2 years ago

RobertGlobant20 commented 2 years ago

Dynamo version

1.1.0.2065

Revit version

2016

Operating system

Windows 8.1

What did you do?

Publish package locally

What did you expect to see?

My package and dyf files in menu

What did you see instead?

Not the dll and dyf files, only after restart. But the dyf files were deleted from the place where they were stored. So if you mess up your package (e.g. by publishing again and thinking that you need to choose your package to replace it - not a stupid assumption in my opinion ) and decide to delete your package, you also loose your dyf files!   It also turns out that simply putting a folder in the packages folder doesn't work. It gives a Dereferencing non-pointer error on my custom UI nodes. Inside my package folder is a pkg.json file and a bin folder with inside the dlls and some other files. It used to work this way, but since I published locally it doesn't work anymore. It still works fine in DynamoSandbox... If I delete all packages in the DynamoRevit/1.1/packages folder and publish locally again, everything works ok. The difference in my package folder is that only dlls are copied, not pdb and config files. But if I add the these files and the dyf files, everything is ok still. Replacing new versions of my custom UI components becomes rather cumbersome like this!