Closed lexus1991fi closed 5 days ago
@lexus1991fi any reason you are using an outdated version of MSAL.NET? Have you tried this with 4.61.0 (latest Microsoft.Identity.Client
)?
I wonder if it is related to https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues?q=is%3Aissue+GeneratedAssemblyInfoFile+is%3Aopen
The "native interop" package injects some settings in the build pipeline because net48 doesn't play nice with native dependencies. See the props
and targets
file in https://nuget.info/packages/Microsoft.Identity.Client.NativeInterop/0.16.0
@lexus1991fi any reason you are using an outdated version of MSAL.NET? Have you tried this with 4.61.0 (latest
Microsoft.Identity.Client
)?
Recent version also had issue when I reported. Just updated to 4.61 and it works fine. So bug is likely fixed now (at least for my exact case)
Library version used
4.52.0
.NET version
net4.8
Scenario
PublicClient - desktop app
Is this a new or an existing app?
The app is in production, and I have upgraded to a new version of MSAL
Issue description and reproduction steps
Hello. I tried to update my project nugets to recent version and ran into a problem
Here is csproj file of my empty (!) project.
and this is Directory.Build.props file
and my compiler error output
If I change version from 4.52.0 to 4.51.0 or older build goes without any issues
Relevant code snippets
No response
Expected behavior
No response
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
4.51.0
Solution and workarounds
Works also in case of turned on debug pdb generation (non-release configuration)