I have a bot that I was going to release into the wilds. I have written it using Visual C# Express 2010. As usual, all is good on my machine. When I publish it then install it on another machine, the ClickOnce application cannot attach to the target process.
I am assuming it is a security elevation issue as I do not get prompted by an UAC on the test machine when I start up the application
I have searched the forums, googled til I bled. What I find is that I should be able to set the manifest security to requestedExecutionLevel to either highestAvailable or requireAdministrator. Unfortunately VC# Express says it does not support those options.
Is there anyway to get a .NET ClickOnce application to have/requested elevated privileges? Is it bad taste to do this in .NET as a ClickOnce app? Or do I need to stop using a free tool (VC#Exp) and move to something that can build a full MSI and app that can request elevated privileges?
I am hoping to avoid costs as I am not doing anything to make money, just for the fun of doing it.
Suggestions would be appreciated as I would rather move to a new tool now rather than later after I add in another set of UI elements and logic.
Note: I am not the expert on anything and most of my dev experience is more Linux based so I fight with windows every few days.
Regards,
S.C.
I am assuming it is a security elevation issue as I do not get prompted by an UAC on the test machine when I start up the application
I have searched the forums, googled til I bled. What I find is that I should be able to set the manifest security to requestedExecutionLevel to either highestAvailable or requireAdministrator. Unfortunately VC# Express says it does not support those options.
Is there anyway to get a .NET ClickOnce application to have/requested elevated privileges? Is it bad taste to do this in .NET as a ClickOnce app? Or do I need to stop using a free tool (VC#Exp) and move to something that can build a full MSI and app that can request elevated privileges?
I am hoping to avoid costs as I am not doing anything to make money, just for the fun of doing it.
Suggestions would be appreciated as I would rather move to a new tool now rather than later after I add in another set of UI elements and logic.
Note: I am not the expert on anything and most of my dev experience is more Linux based so I fight with windows every few days.
Regards,
S.C.