I am running windows 11 on an Intel 12th Gen Intel(R) Core(TM) i9-12900K 3.20 GHz based PC. I have Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.4.0 Preview 2.1.
I have not installed the windows 11 version 22H2 update yet..
I have forked the dotnet/maui github repository. Per the Development.md, I ran
dotnet tool restore
dotnet cake --target=VS
I tried again today and it completed with the following warnings and error (it did start VS and showed 107712 Errors).
Here are the last lines of the CLI cake listed above:
Build FAILED.
D:\Dev\GitHub\maui\bin\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(43,3): warning MSB4011: "C:\Users\Dav
id Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Microsoft.Build.Msix.props" cannot be imported a
gain. It was already imported at "C:\Users\David Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Mi
crosoft.WinUI.props (25,3)". This is most likely a build authoring error. This subsequent import will be ignored. [D:\D
ev\GitHub\maui\src\Controls\src\Xaml\Controls.Xaml.csproj]
D:\Dev\GitHub\maui\bin\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(43,3): warning MSB4011: "C:\Users\Dav
id Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Microsoft.Build.Msix.props" cannot be imported a
gain. It was already imported at "C:\Users\David Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Mi
crosoft.WinUI.props (25,3)". This is most likely a build authoring error. This subsequent import will be ignored. [D:\D
ev\GitHub\maui\src\Controls\src\Xaml\Controls.Xaml.csproj]
D:\Dev\GitHub\maui\bin\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(43,3): warning MSB4011: "C:\Users\Dav
id Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Microsoft.Build.Msix.props" cannot be imported a
gain. It was already imported at "C:\Users\David Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Mi
crosoft.WinUI.props (25,3)". This is most likely a build authoring error. This subsequent import will be ignored. [D:\D
ev\GitHub\maui\src\Graphics\src\Graphics.Win2D\Graphics.Win2D.csproj]
D:\Dev\GitHub\maui\bin\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(43,3): warning MSB4011: "C:\Users\Dav
id Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Microsoft.Build.Msix.props" cannot be imported a
gain. It was already imported at "C:\Users\David Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Mi
crosoft.WinUI.props (25,3)". This is most likely a build authoring error. This subsequent import will be ignored. [D:\D
ev\GitHub\maui\src\Graphics\src\Graphics.Win2D\Graphics.Win2D.csproj]
D:\Dev\GitHub\maui\bin\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(43,3): warning MSB4011: "C:\Users\Dav
id Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Microsoft.Build.Msix.props" cannot be imported a
gain. It was already imported at "C:\Users\David Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Mi
crosoft.WinUI.props (25,3)". This is most likely a build authoring error. This subsequent import will be ignored. [D:\D
ev\GitHub\maui\src\Core\src\Core.csproj]
D:\Dev\GitHub\maui\bin\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(43,3): warning MSB4011: "C:\Users\Dav
id Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Microsoft.Build.Msix.props" cannot be imported a
gain. It was already imported at "C:\Users\David Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Mi
crosoft.WinUI.props (25,3)". This is most likely a build authoring error. This subsequent import will be ignored. [D:\D
ev\GitHub\maui\src\Core\src\Core.csproj]
D:\Dev\GitHub\maui\bin\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(43,3): warning MSB4011: "C:\Users\Dav
id Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Microsoft.Build.Msix.props" cannot be imported a
gain. It was already imported at "C:\Users\David Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Mi
crosoft.WinUI.props (25,3)". This is most likely a build authoring error. This subsequent import will be ignored. [D:\D
ev\GitHub\maui\src\Essentials\src\Essentials.csproj]
D:\Dev\GitHub\maui\bin\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(43,3): warning MSB4011: "C:\Users\Dav
id Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Microsoft.Build.Msix.props" cannot be imported a
gain. It was already imported at "C:\Users\David Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Mi
crosoft.WinUI.props (25,3)". This is most likely a build authoring error. This subsequent import will be ignored. [D:\D
ev\GitHub\maui\src\Controls\src\Core\Controls.Core.csproj]
D:\Dev\GitHub\maui\bin\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(43,3): warning MSB4011: "C:\Users\Dav
id Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Microsoft.Build.Msix.props" cannot be imported a
gain. It was already imported at "C:\Users\David Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Mi
crosoft.WinUI.props (25,3)". This is most likely a build authoring error. This subsequent import will be ignored. [D:\D
ev\GitHub\maui\src\Controls\src\Core\Controls.Core.csproj]
D:\Dev\GitHub\maui\bin\dotnet\sdk\6.0.402\Microsoft.Common.CurrentVersion.targets(43,3): warning MSB4011: "C:\Users\Dav
id Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Microsoft.Build.Msix.props" cannot be imported a
gain. It was already imported at "C:\Users\David Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Mi
crosoft.WinUI.props (25,3)". This is most likely a build authoring error. This subsequent import will be ignored. [D:\D
ev\GitHub\maui\src\Essentials\src\Essentials.csproj]
C:\Users\David Foley.nuget\packages\microsoft.windowsappsdk\1.1.4\buildTransitive\Microsoft.Build.Msix.Pri.targets(375
,5): error APPX3217: SDK folder containing 'UAP.props' for 'UAP 10.0.20348.0' cannot be located. See http://go.microsof
t.com/fwlink/?LinkID=798187 for more information. [D:\Dev\GitHub\maui\src\Controls\src\Core\Controls.Core.csproj]
10 Warning(s)
1 Error(s)
Time Elapsed 00:00:29.62
An error occurred when executing task 'dotnet-buildtasks'.