Docker + "The FrameworkReference 'Microsoft.WindowsDesktop.App.WindowsForms' was not recognized" on v8.0.2
Hi,
I got a problem with this package today
Looks like installing v8.0.2 will get to the error: The FrameworkReference 'Microsoft.WindowsDesktop.App.WindowsForms' was not recognized
When use it to build a docker container using [mcr.microsoft.com/dotnet/sdk:8.0.200] (http://mcr.microsoft.com/dotnet/sdk:8.0.200)
Maybe the reference to the Microsoft.EntityFrameworkCore.Analyzers is causing the problem.
I downgraded to v8.0.1 and there's no trouble.
@rudacomolaplanta Can you post your csproj file(s)?
Are targeting "windows" ? that could why you get the issue, due to SqlClient 5.1.4 using Azure.Identity 10.3
@ErikEJ that was the problem! changed the targeting OS and worked. Thanks!
Tracking issue (it is actually Microsoft.Identity.Client that is the culprit)