.NET 6 Update #42
Comments
Since .NET 6 is being released tomorrow, I have changed the target of this Enhancement to .NET 6 instead of .NET 5.
|
Side Task - Also I should migrate this to a single-project MSIX at the same time. There is no longer a need to have a 2nd "PackageProject" adding complexity to the solution |
UpdatesI'm closing in on wrapping up the migration to .NET 6. Please visit the lance/net6-update branch to follow along. CodeAll projects have been successfully updated to .NET 6! It took a few different migrations as project structure and dependencies were different back in the NETCore 3.x days WorkflowsIn order for me to fully complete the workflow updates, I am wait for an update code signing certificate from Microsoft. The one we currently use has expired. In the meantime, I have inserted a temporary self-signed certificate step in the workflow to be a temporary placeholder.
Single-project MSIXThis is not yet possible for WPF projects. Single-project MSIX is only supported for WinUI3/Windows app SDK project types Technically, you can generate the MSIX with unsupported msbuild command, but you need to manually bundle and sign it. You can find another project that I currently experimenting with this https://github.com/LanceMcCarthy/MediaFileManager/blob/main-dev/.github/workflows/ci_dev.yml |
Hello. After 2 years is there any plan to implement the code for .NET 6? |
Hi @mr-j0nes Yeah, the demand to convert this to .NET 6/7/8 has been low, particularly since "single-project MSIX" is an option for WPF apps now. Instead, there is a separate project that shows you how to achieve it. See https://github.com/andrewleader/WindowsAppSDKGallery/blob/main/.github/workflows/dotnet-desktop.yml. Specifically Line 102 has the build & package MSBuild command. If that doesn't help you, I can revisit this effort and jump right to .NET 8. |
Thank you very much. This helps. We can close this issue. |
Closed as |
There have been a lot of changes since .NET Core 3 for WPF and packaging projects. .NET 5/6 have many improvements and has a different project style and structure.
This enhancement is to migrate the existing .NET Core 3 project type to .NET 5 and use the improved interconnect in Project Reunion (aka Windows App SDK), SDK contracts and CsWinRT.
@edwardskrod
These changes have been implemented in the
lance/net5-update
branch. Can you review for initial approval? If it looks good to you, I will write a new temporary workflow to start CI-CD improvements.The text was updated successfully, but these errors were encountered: