.NET dll not found ! - Forum - OpenEdge Development - Progress Community
 Forum

.NET dll not found !

  • Hello,

    I've made a dll library in c# and I use it in progress developer studio. And this works great when the dll is located in the root directory of my project and added to the references.

    But, when I add my DLL file on a client to update my software, and launch it, I got a message saying my dll was not found !

    Is there something else to do the copying the dll (and the assemblie.xml ?) files ?

    Thanks,

    Marc.

  • If your dll is not in the same directory as the executable you may need to use the –assemblies startup parameter.
     
    Use Assemblies (-assemblies) to specify the path to the directory containing the
    Assembly References File (assemblies.xml) and any third-party assemblies. By
    default, these files are expected to be in the current working directory of the ABL
    session. If you specify an invalid directory, the AVM raises an error at startup and halts.
     
     
    From: Marc [mailto:bounce-piveux@community.progress.com]
    Sent: Monday, January 20, 2014 11:27 AM
    To: TU.OE.Development@community.progress.com
    Subject: .NET dll not found !
     
    Thread created by Marc

    Hello,

    I've made a dll library in c# and I use it in progress developer studio. And this works great when the dll is located in the root directory of my project and added to the references.

    But, when I add my DLL file on a client to update my software, and launch it, I got a message saying my dll was not found !

    Is there something else to do the copying the dll (and the assemblie.xml ?) files ?

    Thanks,

    Marc.

    Stop receiving emails on this subject.

    Flag this post as spam/abuse.

  • Thank you for the reply.

    My dll est actually in the current working directory !

    But in the meantime, I was thinking, my work directory is a network drive on linux. Could this be a problem for Windows ?

    Marc.

  • make sure that "protected" flag isn't set on the dll

    look in the properties of the file

    julian

    On 20 January 2014 17:20, Marc wrote:
    > RE: .NET dll not found !
    > Reply by Marc
    >
    > Thank you for the reply.
    >
    > My dll est actually in the current working directory !
    >
    > But in the meantime, I was thinking, my work directory is a network drive on
    > linux. Could this be a problem for Windows ?
    >
    > Marc.
    >
    > Stop receiving emails on this subject.
    >
    > Flag this post as spam/abuse.



    --
    Julian Lyndon-Smith
    IT Director,
    dot.r
    http://www.dotr.com

    "The bitterness of poor quality remains long after the sweetness of
    low price is forgotten”

    Follow dot.r on http://twitter.com/DotRlimited
  • You will need to change prowin32.exe.config or create one with the following entries;

    <configuration>

    <runtime>

    <loadFromRemoteSources enabled="true" />

    </runtime>

    </configuration>