C
C#10mo ago
131U3blue

Using ClickOnce Environment Variables in .NET 6 for programmatic updates

Hello, I'm trying to set up ClickOnce in VS2022 using .NET 6 for a WPF application so that we can deploy updates to a shared file location allowing users across the business to download updates from a central location. I want to allow these updates to be handled programmatically, and from what I can see, ClickOnce no longer works the same past .NET 5 It seems that instead of being able to use the System.Deployment class, we now need to use Environment Variables. Has anyone here had experience with this? I've tried to use the Environment Variables, but they all appear to be null. Do I need to manually set them myself? I was under the impression that they would be populated on launch from the manifest Any help massively appreciated!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server