SilverShaded
Well-known member
- Joined
- Mar 7, 2020
- Messages
- 110
- Programming Experience
- 10+
Hi,
I'm using .Net 6 on win 11 and since upgrading windows i ran into this problem where my c# app now will only run as an admin. Spent quite a long time googling but none of the answers seemd to be the right one.
I have added in a manifest but this still doesn't allow the app to run when installed, only works in VS.
I can manually set the short cut to run as admin and that works but how can i do that using the installer project in VS?
Is there any other way to do it?
I'm using .Net 6 on win 11 and since upgrading windows i ran into this problem where my c# app now will only run as an admin. Spent quite a long time googling but none of the answers seemd to be the right one.
I have added in a manifest but this still doesn't allow the app to run when installed, only works in VS.
I can manually set the short cut to run as admin and that works but how can i do that using the installer project in VS?
Is there any other way to do it?
Last edited: