Ideally I would have liked to completely eliminate the need to copy the dlls to the Dynamo roaming folders but I couldn't find a simple way to do that:
Adding ProgramData/BHoM to the PATH variable is only working if the installer was ran at least once. Moreover that would create issues for multiple users since we cannot edit the system path.
Dynamo packages don't have a clear entry point so we cannot just dynamically resolve path using AppDomain.CurrentDomain.AssemblyResolve
So simply copy all the dlls from ProgramData/BhoM for now
Broken rules:
After https://github.com/BHoM/admin/issues/5, it is preferable to eliminate the use of UI_PostBuild altogether.
Suggestions to restore compliance:
Ideally I would have liked to completely eliminate the need to copy the dlls to the Dynamo roaming folders but I couldn't find a simple way to do that:
ProgramData/BHoM
to the PATH variable is only working if the installer was ran at least once. Moreover that would create issues for multiple users since we cannot edit the system path.AppDomain.CurrentDomain.AssemblyResolve
So simply copy all the dlls from
ProgramData/BhoM
for now