ENGworks-DEV / ENGyn

https://engworks-dev.github.io/ENGyn/
MIT License
14 stars 4 forks source link

Issue: Build-Events not compiling the right version of Navisworks #64

Open ENGworks-DEV opened 5 years ago

ENGworks-DEV commented 5 years ago

Hey, I have built ENGyn. There are a few issues with it though. 1) When I try to change the target configuration to Navis Manage 18, it builds for Manage 2019 and puts the built dlls in the %APPDATA%\Autodesk Navisworks Manage 2019\Plugins\ folder. Navis Manage 2019 does not recognize the plugin. 2) If I copy the ENGyn build and paste it in "%APPDATA%\Autodesk Navisworks Manage 2018\Plugins\", Navisworks 18 does not recognize the plugin.

Regards and thanks

Originally posted by @jeetendragan in https://github.com/ENGworks-DEV/ENGyn/issues/60#issuecomment-446581872

ENGworks-DEV commented 5 years ago

Please, confirm if you are compiling branches Master or Testing because they have different build structure.

For Master, you need to build from a specific configuration, in your case 2018, which will change the .Net version, upload Navisworks 2018 dlls as reference and set the Build Events output to your Navis folder image

For testing, we changed that because sometimes VS forgets some dlls. You need to compile the only the version contained in the specific Navisworks folder: image

jeetendragan commented 5 years ago

Hey, thanks for the change. I have done that and it builds for Navisworks Manage 2018. But, when I start Navis Manage 2018, the add-in does not show up. Thanks.

ENGworks-DEV commented 5 years ago

Please confirm that the build had copied all files to %appdata%\Autodesk Navisworks Manage 2018\Plugins\ENGyn\ and that "Images" has ENGyn.png & en-US\ENGyn.xml

image