davidortinau / WeatherTwentyOne

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

errors regardless of workloads and packages and ide

PrestigeDevop opened this issue · comments

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

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.

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?

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