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

.winmd file is not copied to \publish folder when publishing with NAOT #1370

Open
Sergio0694 opened this issue Oct 23, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@Sergio0694
Copy link
Member

Describe the bug

When creating a WinRT component with CsWinRT, publishing with AOT results in the .winmd file not being copied correctly in the \publish folder. It does appear in the \bin\release... folder, but when the build finishes it doesn't flow automatically to \publish as well.

To Reproduce

  1. Create a simile WinRT component (eg. like in WinRTTypeWriter generator fails with NullReferenceException #1369)
  2. Set <PublishAot> to true
  3. dotnet publish -r win-x64

Expected behavior

The .winmd file should show up in the \publish folder.

Version Info

  • net8.0-windows10.0.22621.0
  • CsWinRT 2.0.4
@Sergio0694 Sergio0694 added the bug Something isn't working label Oct 23, 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

1 participant