johnballen Ответов: 0

Исправить проблему, используя команду "синхронизировать", чтобы удалить пользователя.файл config


I am working with Visual Studio 2017 Community edition and Windows 10. I have a .Net C# Forms application and am using the built in support for application settings through Project/Properties/Settings from the menu. The user.config file is being written to the following location: ...\ProjectName_Url_auk0xxz010ycckizzrvcvuysemqtl5mm\1.0.0.0\user.config.

When I try to remove the user config file, i.e.: do a reset using the Synchronize command on the settings menu, Visual Studio cannot find the file, its looking for a different url, in this case it's looking for: ...\ProjectName_Url_etpffvii24xozsvg3kp1d5oqn3bwkuy\1.0.0.0 which does not exist.

I can just delete the file from windows but would still like to know if this is a VS bug or something in my setup.....

What I have tried:

I can reproduce the problem quite easily by creating another project and taking the same steps.
I have tried creating both debug and release versions, still the same.

0 Ответов