geberit / Revit.TestRunner

Unit Test Runner for Autodesk Revit
MIT License
84 stars 30 forks source link

###insertExecutingAssembly### does not exist #30

Closed dfgind closed 1 year ago

dfgind commented 1 year ago

Hello, after building the solution I am getting this error when revit starts and loads up the addin: image

It is the only addin in the folder Revit 2022

I also tried with the installer. This one creates the file sin the addins folder but when starting Revit will not read it.

tobiasfloescher-geberit commented 1 year ago

Hi, an after build event trigger a powershell script which should copy the addin file and replace the ###insertExecutingAssembly### string with the correct path. According to the documentation, you must set powershell execution policy to 'unrestricted'. Hope this helps.

dfgind commented 1 year ago

Hi Tobias, Thanks a lot! I installed this way and it worked.