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

errors regardless of workloads and packages and ide #40

Open
PrestigeDevop opened this issue Sep 27, 2021 · 3 comments
Open

errors regardless of workloads and packages and ide #40

PrestigeDevop opened this issue Sep 27, 2021 · 3 comments

Comments

@PrestigeDevop
Copy link

hi I'm somewhat newbie to maui and blazor -shell
I'm trying to open this repo with both vs 2019 and 2022 preview but no luck errors arise from both consoles output .

I installed all workloads unfortunately VS19 doesn't have MAUI component nor .net 6 even after update ... I tried to force installment using CLI it's says it has installed but it seems doesn't I've already installed multiple versions of .net 6 and all workloads ,some plugins but errors of vs2019 :

Severity Code Description Project File Line Suppression State Error Improper project configuration: no AppxManifest is specified, but WindowsPackageType is not set to MSIX. WeatherTwentyOne.WinUI
also doesn't detect .net 6 sdk and maui installed through cli
cmd19
maui

Severity Code Description Project File Line Suppression State Error NU1012 Platform version is not present for one or more target frameworks, even though they have specified a platform: net6.0-android, net6.0-ios, net6.0-maccatalyst WeatherTwentyOne C:\Users\hi\Desktop\demo\MAUI\src\WeatherTwentyOne\WeatherTwentyOne.csproj 1
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.401\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets 141
I spent some time installing 2022 with all required workloads and followed the installment instructions ;

2022

@jesulink2514
Copy link

Hi @PrestigeDevop , you need to make some changes to be able to run it with latest preview available. You can do a dotnet new maui -n sample and check the new syntax of MauiApp (not using IAppHostBuilder anymore). I can share my local version if you want.

@ShaunAtSense
Copy link

Hi @jesulink2514, I have altered your app to work with the latest preview. However I am still experiencing issues.
Are you able to share your local version with me?

@jesulink2514
Copy link

@ShaunAtSense Have you tried dev/rc branch => https://github.com/davidortinau/WeatherTwentyOne/tree/dev/rc ? It seems like David has already fixed the problems.

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