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

There are 3 CS0436 warnings after deploying C# WinUI 3 project with WinAppSdk 1.3.230502000 #3655

Closed
XamlTest opened this issue May 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@XamlTest
Copy link

Describe the bug

There are 3 CS0436 warnings after deploying C# WinUI 3 project with WinAppSdk 1.3.230502000.

Steps to reproduce the bug

Environment:
OS Version: Win10 & Win11
VS Build: 17.6.2 Preview 1.0 [33724.341.d17.6] & 17.7.0 Preview 2.0 [33725.600.main]

More info:
This issue does not reproduce when update WinAppSdk to 1.2.230217.4.

Repro Steps:

  1. Install the Windows App SDK 1.3.1 Runtime from here
  2. Create a new app using the "Blank App, Packaged (WinUI 3 in Desktop)" project template. (Make sure the WinAppSdk is 1.3.230502000)
  3. Add this property to the first PropertyGroup of project file: <WindowsPackageType>None</WindowsPackageType>
  4. Select the 'Unpackaged' launch profile in the Start drop down.
  5. Build and run

Actual Result:
Run successfully, but there are 3 warnings in Error List.
image

Expected Result:
Run successfully without errors and warnings.

Expected behavior

No response

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.3.1: 1.3.230502000

Windows version

Windows 11 (22H2): Build 22621, Windows 10 (21H2): Build 19044

Additional context

No response

@XamlTest XamlTest added the bug Something isn't working label May 26, 2023
@evelynwu-msft evelynwu-msft transferred this issue from microsoft/microsoft-ui-xaml May 26, 2023
@evelynwu-msft
Copy link
Contributor

Duplicate of #3591

@evelynwu-msft evelynwu-msft marked this as a duplicate of #3591 May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants