Skip to content

[Question] How to best handle resolution path for dynamic dll loading? #108

Open
@Vidarls

Description

@Vidarls

I would normally want ot use the same directoy as the current app is deployed to:

let path = Assembly.GetAssembly(typeof<TypeInMyAssembly>).CodeBase |> Path.GetDirectoryName

Of course the SqlDataProvider requires literals because it creates a compile / design time type.

My question is: What is the right way (tm) to do this in order to avoid hard coded requirements to DLL placements?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions