,NET MAUI GIVING ERRORS AFTER UPDATING FROM VS 2022 17.4.3 TO 17.4.4
I have VS 2022 17.3 installed and created a lot fo MAUi APps that are working well but when i updated VS to 17.4.4 it start giving serious errors as included below. I have all necessary payloads installed. please kindly assist as im currently running a Training Program on Mobile App development using MAUI
Severity Code Description Project File Line Suppression State
Error Project "C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\16.1.1481\targets\Xamarin.Shared.Sdk.MultiTarget.targets" was not imported by "C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets" at (1226,3), due to the file not existing. DailyVerse C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\16.1.1481\targets\Xamarin.Shared.Sdk.MultiTarget.targets 1226
Error CS0246 The type or namespace name 'ContentPage' could not be found (are you missing a using directive or an assembly reference?) DailyVerse (net6.0-android), DailyVerse (net6.0-maccatalyst), DailyVerse (net6.0-windows10.0.19041.0) C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml.cs 3 Active
Error CS0246 The type or namespace name 'ContentPage' could not be found (are you missing a using directive or an assembly reference?) DailyVerse (net6.0-ios) C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml.cs 3 Active
Error XLS0414 The type 'ContentPage' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. DailyVerse C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml 2
Error XLS0414 The type 'ScrollView' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. DailyVerse C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml 6
Error XLS0414 The type 'VerticalStackLayout' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. DailyVerse C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml 7
Error XLS0414 The type 'Image' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. DailyVerse C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml 12
Error XLS0414 The type 'Label' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. DailyVerse C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml 18
Error XLS0414 The type 'Label' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. DailyVerse C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml 24
Error XLS0414 The type 'Button' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. DailyVerse C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml 31
Error CS0103 The name 'CounterBtn' does not exist in the current context DailyVerse (net6.0-android), DailyVerse (net6.0-maccatalyst), DailyVerse (net6.0-windows10.0.19041.0) C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml.cs 17 Active
Error CS0103 The name 'CounterBtn' does not exist in the current context DailyVerse (net6.0-android), DailyVerse (net6.0-maccatalyst), DailyVerse (net6.0-windows10.0.19041.0) C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml.cs 19 Active
Error CS0103 The name 'SemanticScreenReader' does not exist in the current context DailyVerse (net6.0-android), DailyVerse (net6.0-maccatalyst), DailyVerse (net6.0-windows10.0.19041.0) C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml.cs 21 Active
Error CS0103 The name 'CounterBtn' does not exist in the current context DailyVerse (net6.0-android), DailyVerse (net6.0-maccatalyst), DailyVerse (net6.0-windows10.0.19041.0) C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml.cs 21 Active
Error CS0103 The name 'CounterBtn' does not exist in the current context DailyVerse (net6.0-ios) C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml.cs 17 Active
Error CS0103 The name 'CounterBtn' does not exist in the current context DailyVerse (net6.0-ios) C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml.cs 19 Active
Error CS0103 The name 'SemanticScreenReader' does not exist in the current context DailyVerse (net6.0-ios) C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml.cs 21 Active
Error CS0103 The name 'CounterBtn' does not exist in the current context DailyVerse (net6.0-ios) C:\01JOBS\TRAINNINGS\MAUI\DailyVerse\MainPage.xaml.cs 21 Active
Error NETSDK1112 The runtime pack for Microsoft.NETCore.App.Runtime.win-x64 was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'win-x64'. DailyVerse C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets 448
Error NETSDK1112 The runtime pack for Microsoft.Maui.Core.Runtime.win was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'win'. DailyVerse C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets 448
Error NETSDK1112 The runtime pack for Microsoft.Maui.Controls.Runtime.win was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'win'. DailyVerse C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets 448
Error NETSDK1112 The runtime pack for Microsoft.Maui.Essentials.Runtime.win was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'win'. DailyVerse C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets 448
Error NETSDK1112 The runtime pack for Microsoft.Windows.SDK.NET.Ref was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'any'. DailyVerse C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets 448
Error MSB4019 The imported project "C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\16.1.1481\targets\Xamarin.Shared.Sdk.MultiTarget.targets" was not found. Confirm that the expression in the Import declaration ";..\16.1.1481\targets\Xamarin.Shared.Sdk.MultiTarget.targets;C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\6.0.548\Sdk\Microsoft.Maui.Sdk.After.targets;C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\6.0.548\Sdk\Microsoft.Maui.Core.Sdk.After.targets;C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\6.0.548\Sdk\Microsoft.Maui.Controls.Sdk.After.targets;C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk\7.0.52\Sdk../targets/Microsoft.Maui.Resizetizer.targets" is correct, and that the file exists on disk. DailyVerse C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets 1226
Error MSB4019 The imported project "C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\16.1.1481\targets\Xamarin.Shared.Sdk.MultiTarget.targets" was not found. Confirm that the expression in the Import declaration ";..\16.1.1481\targets\Xamarin.Shared.Sdk.MultiTarget.targets;C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\6.0.548\Sdk\Microsoft.Maui.Sdk.After.targets;C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\6.0.548\Sdk\Microsoft.Maui.Core.Sdk.After.targets;C:\Program Files\dotnet\packs\Microsoft.Maui.Sdk\6.0.548\Sdk\Microsoft.Maui.Controls.Sdk.After.targets;C:\Program Files\dotnet\packs\Microsoft.Maui.Resizetizer.Sdk\7.0.52\Sdk../targets/Microsoft.Maui.Resizetizer.targets" is correct, and that the file exists on disk. DailyVerse C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets 1226