Deployment of Interop dll

I have a C# utility which talks to MicroStation using the COM Interop layer. It has a reference to the primary interop assembly (bentley.interop.microstationdgn.dll) which resides in MicrosStation installation directory.

Now I wonder what should I do when I want to send it ver my users, which have different versions of MicroStation or PowerDraft?

Should I include my copy of the interop dll in the distribution, or it must use the version that is installed on the target computer?

Can I hope a program compiled with the dll from V8 XM would also work with V8i?

And finally does anyone know what if it legal to redistribute the interop dll? Microsoft's PIA packs have a special license attached, but I could not find anything similar for Bentley's ones.

Have I missed something?

/Elias

 

Parents
  • I think it would be a bad idea to attempt to redistribute any assembly delivered with MicroStation. Apart from versioning and licensing issues, there may be other issues. In V8i, for example, that file lives in the \MicroStation\assemblies folder.

    Regards, Jon Summers
    LA Solutions

     
    Regards, Jon Summers
    LA Solutions

  • Elias,

    I think you have to provide different versions for V8i and XM. You could expect that the same main version (8.9/8.11) is upward compatible between the minor version, but there are a number of known differences between V8i and XM.

    I even don't know if the name of the all of the Interop is still the same as there where some changes to get a more consistent  naming convention (as far as I remember).

    But maybe there is someone here, who can tell you in more detail.

    There are a number of programmers who still prefer working inside Ustn. I currently know that I need to recompile my mdl apps for each main version, but I also know that I might change my .Net-dll and can use it in both of the versions (XM/V8i), as long as the interface wouldn't change (the other direction using a .Net dll from a Ustn one)

    Michael



Reply
  • Elias,

    I think you have to provide different versions for V8i and XM. You could expect that the same main version (8.9/8.11) is upward compatible between the minor version, but there are a number of known differences between V8i and XM.

    I even don't know if the name of the all of the Interop is still the same as there where some changes to get a more consistent  naming convention (as far as I remember).

    But maybe there is someone here, who can tell you in more detail.

    There are a number of programmers who still prefer working inside Ustn. I currently know that I need to recompile my mdl apps for each main version, but I also know that I might change my .Net-dll and can use it in both of the versions (XM/V8i), as long as the interface wouldn't change (the other direction using a .Net dll from a Ustn one)

    Michael



Children
No Data