I had the same issue, but after installing the latest update of VS 2022, the issue fixed.
Here is my VS version, which works as expected:
- Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.4.4
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hey everyone,
I am working on a windows form application and for publish and deploy I am using ClickOnce. The app is build using .NET6. One of the requirement is to pass parameters to the app from web, example
https://localhost/companyapps/testapp.application?testId=17170
I am trying to get the testId when the app is loaded in Program.cs Main function. I searched and every post says that we need to enable this option to allow URL params, but in VS2022 its disabled. Also, the code examples that I see online are not applicable for .NET6. Could someone please guide me on how I can get this to work?
Thanks in advance,
Sairath
I had the same issue, but after installing the latest update of VS 2022, the issue fixed.
Here is my VS version, which works as expected:
Thanks everyone, that resolved my issue