Visual Studio: reset user settings when debugging

前端 未结 6 1058
深忆病人
深忆病人 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:47

    Adding to the above answers, here a copy-paste solution that works for most settings:

    rmdir /q /s %localappdata%\[company name]\[AppName]
    

    Note that for most cases it's best to delete everything under %localappdata%[company name]. Check the app data stored there and choose what's best for you.

提交回复
热议问题