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

Error running the sample WeatherTwentyOne project #39

Open
saramgsilva opened this issue Sep 12, 2021 · 2 comments
Open

Error running the sample WeatherTwentyOne project #39

saramgsilva opened this issue Sep 12, 2021 · 2 comments

Comments

@saramgsilva
Copy link

Hello everyone,

sorry about my question, but I got many issues when I tried to run the WeatherTwentyOne project, I missed something for sure... can help? I would like to run for now using Android Platform. Maybe I am confuse, and I should run dotnet commands to update something, not sure...

Severity Code Description Project File Line Suppression State
Error NETSDK1045 The current .NET SDK does not support targeting .NET 6.0. Either target .NET 5.0 or lower, or use a version of the .NET SDK that supports .NET 6.0. WeatherTwentyOne.WinUI C:\Program Files\dotnet\sdk\5.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets 141

Severity Code Description Project File Line Suppression State
Error NETSDK1139 The target platform identifier android was not recognized. WeatherTwentyOne C:\Program Files\dotnet\sdk\5.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets 109

See the image:

image

@Trades-King
Copy link

Trades-King commented Oct 6, 2021

HI,
i have same problem too.
Is there a fix for it?

@moemura
Copy link

moemura commented Nov 3, 2021

Use VS 2022 Preview. Yours look like VS 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants