Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker + "The FrameworkReference 'Microsoft.WindowsDesktop.App.WindowsForms' was not recognized" on v8.0.2 #33088

Closed
rudacomolaplanta opened this issue Feb 13, 2024 · 4 comments

Comments

@rudacomolaplanta
Copy link

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.

@ajcvickers
Copy link
Contributor

@rudacomolaplanta Can you post your csproj file(s)?

@ErikEJ
Copy link
Contributor

ErikEJ commented Feb 14, 2024

Are targeting "windows" ? that could why you get the issue, due to SqlClient 5.1.4 using Azure.Identity 10.3

@rudacomolaplanta
Copy link
Author

@ErikEJ that was the problem! changed the targeting OS and worked.
Thanks!

@ErikEJ
Copy link
Contributor

ErikEJ commented Feb 14, 2024

Tracking issue (it is actually Microsoft.Identity.Client that is the culprit)

@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants