Skip to content

version conflict WindowsAppSDK 1.3 unpackaged #3591

Closed

Description

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

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

Metadata

Assignees

No one assigned

    Labels

    Status: Fixed internallyThe issue has been fixed but has not yet shipped in a release.area-DeploymentIssues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions