-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
WPF App corrupted when using GitHub Action setup-dotnet for .NET 6 #6111
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
Might be the same as dotnet/winforms#6663 |
@marcpopMSFT Yes it is the same problem. I applied the workaround and it works now. Thanks a lot! See also dotnet/core#7176 |
#6109 was created after too so I'll close this one. |
also i get errors after switching to dotnet version 6.0.0 and 6.01 and 6.0.2 |
Describe the bug
The WPF app is built with GitHub Actions. The compiled application simply does not work (nothing launches, nothing appears).
The App works fine when compiled locally.
The App was created using the default WPF template, so it's a blank page.
To Reproduce
I have a repo here https://github.com/philfontaine/gh-actions-wpf-net-6-bug showing the bug.
The
vTest1
release contains the "corrupted" application. You may create another tagvXxx
yourself if you don't trust its content. The action runs when pushing a tag starting withv
.I also added a tag
vTestManualRelease
where I ran the CI steps locally, then replaced the zip in the release with the one compiled locally, redownloaded it. In that case, the app works fine.More Info
I tried running the corrupted app on an old Windows 7 computer just for fun. I managed to get more information there:
The text was updated successfully, but these errors were encountered: