microsoft-authentication-library-for-dotnet icon indicating copy to clipboard operation
microsoft-authentication-library-for-dotnet copied to clipboard

[Feature Request] Modernize TFM support in MSAL

Open bgavrilMS opened this issue 2 years ago • 4 comments
trafficstars

  • net 462
  • net6
  • netstandard ? I would say initially no.

bgavrilMS avatar Dec 14 '22 14:12 bgavrilMS

Do you mean Net Core 2.1?

pmaytak avatar Dec 15 '22 05:12 pmaytak

No. I mean netcoreapp 3.1 - from the MSAL.Desktop projects etc. I am not sure if we can remove netcoreapp2.1 from MSAL and rely on the netstandard tfm?

bgavrilMS avatar Dec 15 '22 12:12 bgavrilMS

2>C:\Program Files\dotnet\sdk\7.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(1027,5): error NETSDK1149: Microsoft.Identity.Client.Desktop.dll cannot be referenced because it uses built-in support for WinRT, which is no longer supported in .NET 5 and higher. An updated version of the component supporting .NET 5 is needed. For more information, see https://aka.ms/netsdk1149 Need to remove netcore3.2 support because it blocks usage of the Windows-Toolkit-Graph-Controls in WPF that target .NET 7

TaviTruman avatar Dec 16 '22 02:12 TaviTruman

@TaviTruman For Net 7, your app needs to target at least net7.0-windows10.0.17763.0 and not reference Microsoft.Identity.Client.Desktop. It needs to be referenced only when targeting Net Framework or Net Core.

pmaytak avatar Dec 16 '22 03:12 pmaytak