Comments (7)
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
from github-actions-for-desktop-apps.
Thank you very much. This helps. We can close this issue.
from github-actions-for-desktop-apps.
Since .NET 6 is being released tomorrow, I have changed the target of this Enhancement to .NET 6 instead of .NET 5.
If someone is looking for a .NET 5 workflow, they can use the same .NET 6 example for guidance.
from github-actions-for-desktop-apps.
Updates
I'm closing in on wrapping up the migration to .NET 6. Please visit the lance/net6-update branch to follow along.
Code
All 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
Workflows
In 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.
- CI for .NET 6 is working, see https://github.com/microsoft/github-actions-for-desktop-apps/actions/workflows/ci-net6-temp.yml
- CD needs a new certificate before it can be used, I do not want to package and distribute packages that are using self-signed certs.
Single-project MSIX
This 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
from github-actions-for-desktop-apps.
Hello. After 2 years is there any plan to implement the code for .NET 6?
from github-actions-for-desktop-apps.
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.
from github-actions-for-desktop-apps.
Closed as Not Planned
, but can be re-opened with enough interest.
from github-actions-for-desktop-apps.
Related Issues (17)
- Replace Hard-coded Paths with Already Existing Variable HOT 6
- Unnecessary PropertyGroups for PlatformTarget? HOT 1
- Letter of thank HOT 1
- msbuild command for wapproj doesn't work locally via cli HOT 22
- [Question] Uap 19041 Support HOT 7
- Out of Memory on GitHub Runner HOT 1
- CI-CD Builds Fail Due to AddPath being Deprecated HOT 2
- Wpf Net5 and MSIX HOT 4
- Unable to fix error on CI workflow HOT 7
- Difficulty creating a new repository HOT 2
- Could not find file "GitHubActionsWorkflow.pfx" HOT 1
- YML file to build WPF application targeted to .NET core 3.1 HOT 7
- Continuous integration Deployment - Code sign Failed HOT 9
- This doesn't seem to build once forked.. HOT 7
- Can i use this action to setup an app ? HOT 4
- [SPAM] Test HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-actions-for-desktop-apps.