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

Adding the WindowsAppSDK to a C# project breaks WinForms controls copy and paste functionality #9309

Open
pavlexander opened this issue Jan 26, 2024 · 0 comments
Labels
bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team

Comments

@pavlexander
Copy link

Describe the bug

After adding the WindowsAppSDK package to a C# project - you can no longer copy and paste form controls.

Steps to reproduce the bug

  1. get the solution in attachments, unzip
  2. open solution
  3. build
  4. open the form
  5. copy and paste a button - works, OK
  6. now double click on a project, uncomment the nuget package reference
<!--<ItemGroup>
  <PackageReference Include="Microsoft.WindowsAppSDK" Version="1.4.231219000" />
</ItemGroup>-->
  1. re-build
  2. reopen the form
  3. try copy and pasting control - nothing happens

FormsTest.zip

Expected behavior

controls copy and paste functionality works

Screenshots

No response

NuGet package version

Windows App SDK 1.4.4: 1.4.231219000

Packaging type

Unpackaged

Windows version

Windows 10 version 22H2 (19045, 2022 Update)

IDE

Visual Studio 2022

Additional context

I've tried different versions of the package, including the preview version but all of them equally corrupt the controls copy/paste functionality.

@bpulliam bpulliam transferred this issue from microsoft/WindowsAppSDK Feb 1, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Feb 1, 2024
@bpulliam bpulliam added team-CompInput Issue for IXP (Composition, Input) team and removed needs-triage Issue needs to be triaged by the area owners labels Feb 1, 2024
@duncanmacmichael duncanmacmichael added the bug Something isn't working label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team
Projects
None yet
Development

No branches or pull requests

3 participants