-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Milestone
Description
Description
When the following command is run:
dotnet build ./Microsoft.Maui.BuildTasks.slnf
then I can see:
Restore complete (9,7s)
X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.BeforeCommon.targets(31,3): warning MSB4011: "X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.Build.Msix.props" cannot be imported again. It was already imported at "X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.WinUI.props (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [X:\maui\src\Essentials\src\Essentials.csproj]
X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.BeforeCommon.targets(31,3): warning MSB4011: "X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.Build.Msix.props" cannot be imported again. It was already imported at "X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.WinUI.props (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [X:\maui\src\Essentials\src\Essentials.csproj]
Controls.Xaml.Design net472 succeeded (2,9s) → artifacts\bin\Controls.Xaml.Design\Debug\net472\Microsoft.Maui.Controls.Xaml.DesignTools.dll
X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.BeforeCommon.targets(31,3): warning MSB4011: "X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.Build.Msix.props" cannot be imported again. It was already imported at "X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.WinUI.props (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [X:\maui\src\Core\src\Core.csproj]
X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.BeforeCommon.targets(31,3): warning MSB4011: "X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.Build.Msix.props" cannot be imported again. It was already imported at "X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.WinUI.props (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [X:\maui\src\Core\src\Core.csproj]
X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.BeforeCommon.targets(31,3): warning MSB4011: "X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.Build.Msix.props" cannot be imported again. It was already imported at "X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.WinUI.props (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [X:\maui\src\Controls\src\Xaml\Controls.Xaml.csproj]
X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.BeforeCommon.targets(31,3): warning MSB4011: "X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.Build.Msix.props" cannot be imported again. It was already imported at "X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.WinUI.props (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [X:\maui\src\Controls\src\Xaml\Controls.Xaml.csproj]
X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.BeforeCommon.targets(31,3): warning MSB4011: "X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.Build.Msix.props" cannot be imported again. It was already imported at "X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.WinUI.props (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [X:\maui\src\Controls\src\Core\Controls.Core.csproj]
X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.BeforeCommon.targets(31,3): warning MSB4011: "X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.Build.Msix.props" cannot be imported again. It was already imported at "X:\.nuget\microsoft.windowsappsdk\1.7.250606001\buildTransitive\Microsoft.WinUI.props (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [X:\maui\src\Controls\src\Core\Controls.Core.csproj]
X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.BeforeCommon.targets(31,3): warning MSB4011: "X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.Build.Msix.props" cannot be imported again. It was already imported at "X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.WinUI.props (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [X:\maui\src\Graphics\src\Graphics.Win2D\Graphics.Win2D.csproj]
X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.BeforeCommon.targets(31,3): warning MSB4011: "X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.Build.Msix.props" cannot be imported again. It was already imported at "X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.WinUI.props (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [X:\maui\src\Graphics\src\Graphics.Win2D\Graphics.Win2D.csproj]
X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.BeforeCommon.targets(31,3): warning MSB4011: "X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.Build.Msix.props" cannot be imported again. It was already imported at "X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.WinUI.props (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [X:\maui\src\Graphics\src\Graphics\Graphics.csproj]
X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.UI.Xaml.Markup.Compiler.BeforeCommon.targets(31,3): warning MSB4011: "X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.Build.Msix.props" cannot be imported again. It was already imported at "X:\.nuget\microsoft.windowsappsdk\1.6.241114003\buildTransitive\Microsoft.WinUI.props (22,3)". This is most likely a build authoring error. This subsequent import will be ignored. [X:\maui\src\Graphics\src\Graphics\Graphics.csproj]
Notice that the warnings mention WinAppSDK 1.6.241114003 and not the current 1.7 version. I believe it's a bug.
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
9.0.110 SR11
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No response