version conflict WindowsAppSDK 1.3 unpackaged #3591
Labels
area-Deployment
Issues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)
bug
Something isn't working
Status: Fixed internally
The issue has been fixed but has not yet shipped in a release.
Milestone
Describe the bug
After upgrading WindowsAppSDK to version 1.3 there are 3 build warnings about version conflict when using unpackaged application (None).
C:\Users\x.nuget\packages\microsoft.windowsappsdk\1.3.230331000\include\MddBootstrapAutoInitializer.cs(34,38,34,77): warning CS0436: The type 'Release' in 'C:\Users\x.nuget\packages\microsoft.windowsappsdk\1.3.230331000\buildTransitive..\include\WindowsAppSDK-VersionInfo.cs' conflicts with the imported type 'Release' in 'Microsoft.WindowsAppRuntime.Release.Net, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Users\x.nuget\packages\microsoft.windowsappsdk\1.3.230331000\buildTransitive..\include\WindowsAppSDK-VersionInfo.cs'.
C:\Users\x.nuget\packages\microsoft.windowsappsdk\1.3.230331000\include\MddBootstrapAutoInitializer.cs(35,33,35,72): warning CS0436: The type 'Release' in 'C:\Users\x.nuget\packages\microsoft.windowsappsdk\1.3.230331000\buildTransitive..\include\WindowsAppSDK-VersionInfo.cs' conflicts with the imported type 'Release' in 'Microsoft.WindowsAppRuntime.Release.Net, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Users\x.nuget\packages\microsoft.windowsappsdk\1.3.230331000\buildTransitive..\include\WindowsAppSDK-VersionInfo.cs'.
C:\Users\x.nuget\packages\microsoft.windowsappsdk\1.3.230331000\include\MddBootstrapAutoInitializer.cs(36,49,36,96): warning CS0436: The type 'Version' in 'C:\Users\x.nuget\packages\microsoft.windowsappsdk\1.3.230331000\buildTransitive..\include\WindowsAppSDK-VersionInfo.cs' conflicts with the imported type 'Version' in 'Microsoft.WindowsAppRuntime.Release.Net, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'C:\Users\x.nuget\packages\microsoft.windowsappsdk\1.3.230331000\buildTransitive..\include\WindowsAppSDK-VersionInfo.cs'.
Without None there are not any warnings.
Steps to reproduce the bug
Create empty WinUI application, upgrade WinAppSDK to 1.3 and add None.
Version conflicts warnings appears.
Expected behavior
There should be no build warnings.
Screenshots
No response
NuGet package version
Windows App SDK 1.3.0: 1.3.230331000
Packaging type
Unpackaged
Windows version
Windows 10 version 22H2 (19045, 2022 Update)
IDE
Visual Studio 2022
Additional context
No response
The text was updated successfully, but these errors were encountered: