Running Windows Service Application without installing it

后端 未结 6 1871
旧巷少年郎
旧巷少年郎 2021-01-11 16:55

Whem I\'m writing a Windows Service and just hit F5 I get the error message that I have to install it using installutil.exe and then run it. In practice this me

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-11 17:40

    You can use Environment.UserInteractive variable. Details of implementation here

提交回复
热议问题