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

Unable to build .NET MAUI application after upgrade to Visual Studio 17.3.5 #10448

Closed
tsjdev-apps opened this issue Oct 2, 2022 · 3 comments
Closed
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging platform/android 🤖 platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst platform/windows 🪟 s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue t/bug Something isn't working

Comments

@tsjdev-apps
Copy link

Description

I'm unable to build a .NET MAUI application, even the empty template after upgrading to VIsual Studio 17.3.5.

NU1012 Platform version is not present for one or more target frameworks, even though they have specified a platform: net6.0-ios, net6.0-maccatalyst

I've tried to uninstall Visual Studio and install Visual Studio again without any difference. I've tried to restore the worloads without any difference.

Steps to Reproduce

  1. Create a new .NET MAUI application
  2. Try to build the application

Link to public reproduction project repository

https://github.com/tsjdev-apps/maui-sample

Version with bug

6.0.486 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android, Windows, macOS, Other (Tizen, Linux, etc. not supported by Microsoft directly)

Affected platform versions

All platform versions

Did you find any workaround?

Relevant log output

dotnet --list-sdks

6.0.401 [C:\Program Files\dotnet\sdk]

---

dotnet --list-runtimes

Microsoft.AspNetCore.App 6.0.0-rc.2.21480.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0-rc.2.21480.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 5.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.0-rc.2.21501.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

---

dotnet workload list

Installed Workload Ids      Manifest Version      Installation Source
---------------------------------------------------------------------
tizen                       7.0.400/6.0.400       SDK 6.0.400
maui-windows                6.0.540/6.0.400       VS 17.3.32922.545
maui-maccatalyst            6.0.540/6.0.400       VS 17.3.32922.545
maccatalyst                 15.4.447/6.0.400      VS 17.3.32922.545
maui-ios                    6.0.540/6.0.400       VS 17.3.32922.545
ios                         15.4.447/6.0.400      VS 17.3.32922.545
maui-android                6.0.540/6.0.400       VS 17.3.32922.545
android                     32.0.465/6.0.400      VS 17.3.32922.545

---

dotnet workload restore

Installing workloads: maui-tizen maui-ios maui-maccatalyst

Advertising manifest not updated. Manifest package for samsung.net.sdk.tizen doesn't exist.
Installing Microsoft.Maui.Core.Ref.tizen.6.0.540.0-x64.msi ........... Done
Installing Microsoft.Maui.Core.Runtime.tizen.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Controls.Ref.tizen.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Controls.Runtime.tizen.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Essentials.Ref.tizen.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Essentials.Runtime.tizen.6.0.540.0-x64.msi .... Done
Installing Microsoft.AspNetCore.Components.WebView.Maui.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Dependencies.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Extensions.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Graphics.6.0.501-x64.msi .... Done
Installing Microsoft.Maui.Resizetizer.Sdk.6.0.540.0-x64.msi ...... Done
Installing Microsoft.Maui.Core.Ref.any.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Core.Runtime.any.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Controls.Ref.any.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Controls.Runtime.any.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Essentials.Ref.any.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Essentials.Runtime.any.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Core.Ref.ios.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Core.Runtime.ios.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Controls.Ref.ios.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Controls.Runtime.ios.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Essentials.Ref.ios.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Essentials.Runtime.ios.6.0.540.0-x64.msi .... Done
Installing Microsoft.iOS.Sdk.15.4.447.447-x64.msi ..... Done
Installing Microsoft.iOS.Windows.Sdk.15.4.447.447-x64.msi ...... Done
Installing Microsoft.iOS.Ref.15.4.447.447-x64.msi .... Done
Installing Microsoft.iOS.Runtime.ios-arm.15.4.447.447-x64.msi ..... Done
Installing Microsoft.iOS.Runtime.ios-arm64.15.4.447.447-x64.msi ..... Done
Installing Microsoft.iOS.Runtime.iossimulator-x86.15.4.447.447-x64.msi ..... Done
Installing Microsoft.iOS.Runtime.iossimulator-x64.15.4.447.447.msi ..... Done
Installing Microsoft.iOS.Runtime.iossimulator-arm64.15.4.447.447-x64.msi ..... Done
Installing Microsoft.iOS.Templates.15.4.447.447-x64.msi .... Done
Installing Microsoft.Maui.Core.Ref.maccatalyst.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Core.Runtime.maccatalyst.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Controls.Ref.maccatalyst.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Controls.Runtime.maccatalyst.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Essentials.Ref.maccatalyst.6.0.540.0-x64.msi .... Done
Installing Microsoft.Maui.Essentials.Runtime.maccatalyst.6.0.540.0-x64.msi .... Done
Installing Microsoft.MacCatalyst.Sdk.15.4.447.447-x64.msi .... Done
Installing Microsoft.MacCatalyst.Ref.15.4.447.447-x64.msi .... Done
Installing Microsoft.MacCatalyst.Runtime-arm64.15.4.447.447-x64.msi ..... Done
Installing Microsoft.MacCatalyst.Runtime-x64.15.4.447.447.msi ..... Done
Installing Microsoft.MacCatalyst.Templates.15.4.447.447-x64.msi .... Done
Downloading Samsung.Tizen.Sdk.Msi.x64 (7.0.400)
Workload installation failed. Rolling back installed packs...
Removing Microsoft.MacCatalyst.Templates.15.4.447.447-x64.msi .... Done
Removing Microsoft.MacCatalyst.Runtime-x64.15.4.447.447.msi .... Done
Removing Microsoft.MacCatalyst.Runtime-arm64.15.4.447.447-x64.msi .... Done
Removing Microsoft.MacCatalyst.Ref.15.4.447.447-x64.msi .... Done
Removing Microsoft.MacCatalyst.Sdk.15.4.447.447-x64.msi ..... Done
Removing Microsoft.Maui.Essentials.Runtime.maccatalyst.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Essentials.Ref.maccatalyst.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Controls.Runtime.maccatalyst.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Controls.Ref.maccatalyst.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Core.Runtime.maccatalyst.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Core.Ref.maccatalyst.6.0.540.0-x64.msi .... Done
Removing Microsoft.iOS.Templates.15.4.447.447-x64.msi .... Done
Removing Microsoft.iOS.Runtime.iossimulator-arm64.15.4.447.447-x64.msi .... Done
Removing Microsoft.iOS.Runtime.iossimulator-x64.15.4.447.447.msi .... Done
Removing Microsoft.iOS.Runtime.iossimulator-x86.15.4.447.447-x64.msi .... Done
Removing Microsoft.iOS.Runtime.ios-arm64.15.4.447.447-x64.msi .... Done
Removing Microsoft.iOS.Runtime.ios-arm.15.4.447.447-x64.msi .... Done
Removing Microsoft.iOS.Ref.15.4.447.447-x64.msi .... Done
Removing Microsoft.iOS.Windows.Sdk.15.4.447.447-x64.msi ....... Done
Removing Microsoft.iOS.Sdk.15.4.447.447-x64.msi ...... Done
Removing Microsoft.Maui.Essentials.Runtime.ios.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Essentials.Ref.ios.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Controls.Runtime.ios.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Controls.Ref.ios.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Core.Runtime.ios.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Core.Ref.ios.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Essentials.Runtime.any.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Essentials.Ref.any.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Controls.Runtime.any.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Controls.Ref.any.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Core.Runtime.any.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Core.Ref.any.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Resizetizer.Sdk.6.0.540.0-x64.msi ..... Done
Removing Microsoft.Maui.Graphics.6.0.501-x64.msi .... Done
Removing Microsoft.Maui.Extensions.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Dependencies.6.0.540.0-x64.msi .... Done
Removing Microsoft.AspNetCore.Components.WebView.Maui.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Essentials.Runtime.tizen.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Essentials.Ref.tizen.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Controls.Runtime.tizen.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Controls.Ref.tizen.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Core.Runtime.tizen.6.0.540.0-x64.msi .... Done
Removing Microsoft.Maui.Core.Ref.tizen.6.0.540.0-x64.msi .... Done
Workload installation failed: One or more errors occurred. (samsung.tizen.sdk.msi.x64::7.0.400 is not found in NuGet feeds https://api.nuget.org/v3/index.json;C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\".)
@tsjdev-apps tsjdev-apps added the t/bug Something isn't working label Oct 2, 2022
@jsuarezruiz jsuarezruiz added the area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging label Oct 3, 2022
@rachelkang rachelkang added the s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue label Oct 4, 2022
@ghost
Copy link

ghost commented Oct 4, 2022

Thanks for the issue report @tsjdev-apps! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.

If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.

  1. Go to the VS feedback tool to report the issue
  2. Close this bug, and consider adding a link to the VS Feedback issue so that others can follow its activity there.

This issue will be automatically closed in 3 days if there are no further comments.

@PureWeen
Copy link
Member

PureWeen commented Oct 4, 2022

Duplicate of #10234

@PureWeen PureWeen marked this as a duplicate of #10234 Oct 4, 2022
@PureWeen PureWeen closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2022
@janduldhardt
Copy link

Any workarounds?

@ghost ghost locked as resolved and limited conversation to collaborators Nov 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-tooling XAML & C# Hot Reload, XAML Editor, Live Visual Tree, Live Preview, Debugging platform/android 🤖 platform/iOS 🍎 platform/macOS 🍏 macOS / Mac Catalyst platform/windows 🪟 s/move-to-vs-feedback Tells automation to ask the person to use VS Feedback to report the issue t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants