Visual Studio: reset user settings when debugging

前端 未结 6 1042
深忆病人
深忆病人 2020-12-24 07:29

In a C# Winforms-App I have several user settings stored.

Is there an easy way to clear those settings each time I start debugging the project from Visual Studio 200

6条回答
  •  臣服心动
    2020-12-24 07:57

    Here are two possible ways to do it:

    • use either the pre build or post build event command line, you put delete commands and such in there or run a batch file or script

    • have a play with the Start Action options of the start up project, you can specify an external program with command line arguments to be run first

提交回复
热议问题