Open luronumen opened 11 months ago
Any timescale for when this is likely to be fixed? Or any workaround until it is?
Hi @quails4Eva - did you try with the latest MSAL 4.58? Does it still repro? We made a small change related to how the native binary is located and loaded, but I am not sure it fixes this issue.
Hi @bgavrilMS , thanks for the quick response, just tried it and still getting the same issue unfortunately.
Another thing to note. My app targets Any CPU and I don't see msalruntime.dll in the list under Publish -> Application Files. Changing to x64 makes it show in the list, but still doesn't include it when publishing. (Plus changing from Any CPU to x64 would require a reinstall of the app which I'd rather avoid if possible.)
I've run into this as will using
PackageReference Include="Microsoft.Identity.Client" Version="4.59.0"
.net 6.0
workaround for me is to copy the file from the bin/release/runtimes/win-x64/native into the deployed folder.
Thanks
Library version used
4.56.0
.NET version
.NET Framework 4.8
Scenario
PublicClient - desktop app
Is this a new or an existing app?
None
Issue description and reproduction steps
For more details please check the source code: WindowsFormsApp1.zip
Relevant code snippets
No response
Expected behavior
The msalruntime.dll library should be included in the ClickOnce publish folder
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
No response