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 even Wizard WinUI App #4709

Open
LucaCris opened this issue Sep 11, 2024 · 10 comments
Open

Unable to build even Wizard WinUI App #4709

LucaCris opened this issue Sep 11, 2024 · 10 comments
Assignees

Comments

@LucaCris
Copy link

Describe the bug

The upgrade from 1.5 to 1.6 is not working, so I tested a completely new WinUI 3 app and: not working.

Steps to reproduce the bug

Make a brand new:

immagine

Checks that all nugets are updated.

Build.

Errors/warnings will be issued (see Additional context).

Windows 11, fully updated.

Expected behavior

As for previous SDK update: build with no errors.

Screenshots

No response

NuGet package version

Windows App SDK 1.6.0: 1.6.240829007

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022

Additional context

Build started at 11:50...
1>------ Build started: Project: App9, Configuration: Debug x64 ------
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Found conflicts between different versions of "WinRT.Runtime" that could not be resolved.
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: There was a conflict between "WinRT.Runtime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709" and "WinRT.Runtime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: "WinRT.Runtime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709" was chosen because it was primary and "WinRT.Runtime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709" was not.
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: References which depend on "WinRT.Runtime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709" [C:\Users\Luca.nuget\packages\microsoft.windows.sdk.net.ref\10.0.19041.34\lib\net6.0\WinRT.Runtime.dll].
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windows.sdk.net.ref\10.0.19041.34\lib\net6.0\WinRT.Runtime.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windows.sdk.net.ref\10.0.19041.34\lib\net6.0\WinRT.Runtime.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windows.sdk.net.ref\10.0.19041.34\lib/net6.0/WinRT.Runtime.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: References which depend on or have been unified to "WinRT.Runtime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709" [].
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.web.webview2\1.0.2651.64\lib_manual\net6.0-windows10.0.17763.0\Microsoft.Web.WebView2.Core.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.web.webview2\1.0.2651.64\lib_manual\net6.0-windows10.0.17763.0\Microsoft.Web.WebView2.Core.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.web.webview2\1.0.2651.64\build..\lib_manual\net6.0-windows10.0.17763.0\Microsoft.Web.WebView2.Core.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.InteractiveExperiences.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.InteractiveExperiences.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.InteractiveExperiences.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppLifecycle.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppLifecycle.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppLifecycle.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Builder.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Builder.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Builder.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Builder.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Management.Deployment.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.Resources.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.Resources.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.Resources.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Management.Deployment.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Management.Deployment.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Management.Deployment.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.PushNotifications.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.PushNotifications.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.PushNotifications.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Security.AccessControl.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Security.AccessControl.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Security.AccessControl.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Storage.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Storage.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Storage.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Power.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Power.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Power.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Widgets.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Widgets.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Widgets.Projection.dll
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error : This version of the Windows App SDK requires Microsoft.Windows.SDK.NET.Ref 10.0.19041.38 or later.
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error : Please update to .NET SDK 6.0.134, 6.0.426, 8.0.109, 8.0.305 or 8.0.402 (or later).
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error : Or add a temporary Microsoft.Windows.SDK.NET.Ref reference which can be added with:
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error :
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error : 10.0.19041.38
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error :
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error :
1>Done building project "App9.csproj" -- FAILED.
2>------ Build started: Project: App9 (Package), Configuration: Debug x64 ------
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Found conflicts between different versions of "WinRT.Runtime" that could not be resolved.
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: There was a conflict between "WinRT.Runtime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709" and "WinRT.Runtime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: "WinRT.Runtime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709" was chosen because it was primary and "WinRT.Runtime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709" was not.
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: References which depend on "WinRT.Runtime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709" [C:\Users\Luca.nuget\packages\microsoft.windows.sdk.net.ref\10.0.19041.34\lib\net6.0\WinRT.Runtime.dll].
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windows.sdk.net.ref\10.0.19041.34\lib\net6.0\WinRT.Runtime.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windows.sdk.net.ref\10.0.19041.34\lib\net6.0\WinRT.Runtime.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windows.sdk.net.ref\10.0.19041.34\lib/net6.0/WinRT.Runtime.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: References which depend on or have been unified to "WinRT.Runtime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709" [].
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.web.webview2\1.0.2651.64\lib_manual\net6.0-windows10.0.17763.0\Microsoft.Web.WebView2.Core.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.web.webview2\1.0.2651.64\lib_manual\net6.0-windows10.0.17763.0\Microsoft.Web.WebView2.Core.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.web.webview2\1.0.2651.64\build..\lib_manual\net6.0-windows10.0.17763.0\Microsoft.Web.WebView2.Core.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.InteractiveExperiences.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.InteractiveExperiences.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.InteractiveExperiences.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppLifecycle.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppLifecycle.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppLifecycle.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Builder.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Builder.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Builder.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.AppNotifications.Builder.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.DynamicDependency.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Management.Deployment.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.Resources.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.Resources.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.Resources.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.WinUI.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.ApplicationModel.WindowsAppRuntime.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Management.Deployment.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Management.Deployment.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Management.Deployment.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.PushNotifications.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.PushNotifications.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.PushNotifications.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Security.AccessControl.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Security.AccessControl.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Security.AccessControl.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Storage.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Storage.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Storage.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Power.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Power.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Power.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.System.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Widgets.Projection.dll
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: Project file item includes which caused reference "C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Widgets.Projection.dll".
[..]\Bin\amd64\Microsoft.Common.CurrentVersion.targets(2412,5): warning MSB3277: C:\Users\Luca.nuget\packages\microsoft.windowsappsdk\1.6.240829007\lib\net6.0-windows10.0.18362.0\Microsoft.Windows.Widgets.Projection.dll
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error : This version of the Windows App SDK requires Microsoft.Windows.SDK.NET.Ref 10.0.19041.38 or later.
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error : Please update to .NET SDK 6.0.134, 6.0.426, 8.0.109, 8.0.305 or 8.0.402 (or later).
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error : Or add a temporary Microsoft.Windows.SDK.NET.Ref reference which can be added with:
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error :
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error : 10.0.19041.38
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error :
[..].nuget\packages\microsoft.windowsappsdk\1.6.240829007\buildTransitive\Microsoft.WindowsAppSDK.targets(76,9): error :
2>Done building project "App9.csproj" -- FAILED.
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 11:50 and took 00,937 seconds ==========

@DominikErnst
Copy link

Add following to your Project File

<PropertyGroup> <WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion> </PropertyGroup>

@LucaCris
Copy link
Author

Add following to your Project File

<PropertyGroup> <WindowsSdkPackageVersion>10.0.19041.38</WindowsSdkPackageVersion> </PropertyGroup>

.38 .... I prefer no tricks, thanks!

@DarranRowe
Copy link

Even if these "tricks" are part of the release notes?

These changes will be unnecesary when the newest .NET SDK is released.

@trlambert1
Copy link

Why would they release an SDK before the supporting .NET version is released? I would think this should just work out of the box.

This has been a problem of mine for a week now. I finally figured out I had to open the csproj file directly as I could not do so from within the IDE.

@LucaCris
Copy link
Author

Even if these "tricks" are part of the release notes?

These changes will be unnecesary when the newest .NET SDK is released.

So wait to release all in the same time!

We are professional devs, not teenagers studying .NET at home... :)

@DominikErnst
Copy link

DominikErnst commented Sep 12, 2024

@LucaCris That's funny because 1. it's not a trick or a workaround and 2. it qualifies you as a beginner. A professional would quickly google the solution and deal with BUGs! And 3. you could thank me for my help and not whine like a Karen.

@LucaCris
Copy link
Author

@LucaCris That's funny because 1. it's not a trick or a workaround and 2. it qualifies you as a beginner. A professional would quickly google the solution and deal with BUGs! And 3. you could thank me for my help and not whine like a Karen.

I forgive you because you don't know... ❤️

@DominikErnst
Copy link

@LucaCris Ah, you're a conspiracy theorist, that explains a lot.

@codendone codendone added the area-DeveloperTools Issues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integration label Sep 26, 2024
@RDMacLachlan RDMacLachlan added area-dotnet and removed area-DeveloperTools Issues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integration needs-triage labels Sep 30, 2024
@Natriss
Copy link

Natriss commented Oct 1, 2024

Even if these "tricks" are part of the release notes?

These changes will be unnecesary when the newest .NET SDK is released.

I fully agree with this.
Not only is it weird not to include this when building a new app.
You have to do that same thing over and over again for new applications. It's super annoying.
Not only that everything before 1.6 didn't require to do this when building a new app.

Everything you start with fresh is and always has been build ready until now?
It's such a weird move and unnecessary to do when creating new applications.

@LucaCris
Copy link
Author

LucaCris commented Oct 1, 2024

Please give us a clean and "as always" upgrade step.

Even for @DominikErnst ... he also deserve it. 👍

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

No branches or pull requests

8 participants