I'm building the C# sample project provided with Bricscad V19 located at Bricsys\BricsCAD V19 en_US\API\dotNet\CsBrxMgd
in visual studio 2019.
The build is successful & runs correctly when loaded into my Bricscad V17 & V19, however when i send this to my colleagues we have varying results.
Error Message: Could not load file or assembly "<PATH>" or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
On another PC:
Error loading "<PATH>": .
<PATH> loading failed.
This lead me to Could not load file or assembly Operation is not supported. (Exception from HRESULT: 0x80131515)
We have tried "unblocking" the DLL file but still receive the same error, I've also tried loading the DLL from different locations to see if it is some sort of permissions issue or trusted locations issue.
I've also found this http://www.clearmindsoftware.com/post/Resolution-Error-Could-not-load-file-or-assembly-file5c5cserver5cpath5cfiledll-or-one-of-its-dependencies-(0x80131515)
which seems to suggest it could be a difference in the .net framework on each machine however we all seem to have framework 4.5.1 & I built the project with 4.5.1
How can i debug this further? and improve comparability?