Skip to content

[Documentation] Is there a way to embed msalruntime.dll as a resource in executable #5554

@syrotkin

Description

@syrotkin

Make sure that your question or issue is not already covered in MSAL docs or samples.

Documentation related to component

msalruntime.dll

Please check those that apply

  • typo
  • documentation doesn't exist
  • documentation needs clarification
  • error(s) in example
  • needs example

Description of the issue

I am not sure if it is possible to embed msalruntime.dll as a resource in a Windows executable or is it only loaded from a specific directory structure that is created next to the executable (e.g. for 64-bit Windows executables, runtimes\win-x64\native\msalruntime.dll). My assumption is the latter and this how we are handling this problem in our application.

I also asked this question here, but there is no definitive answer: https://stackoverflow.com/questions/79791196/how-to-ensure-msalruntime-dll-is-loaded-correctly-if-embedded-in-an-executable

If my assumption is correct and there is no way to ensure loading msalruntime.dll when it is embedded as a resource, could you please confirm it and close the issue? However, if there is a way to achieve loading the DLL, could you let me how we can achieve it? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions