question

ilovedumsky-6614 avatar image
0 Votes"
ilovedumsky-6614 asked ilovedumsky-6614 commented

problem opening a new project on VS 2019 and adding a new file to existing project

I am beginner programmer using visual studio 2019 and i cant open a new project on my visual studio, cause every time it sends this message: error parsing user settings file/ and also the project i opened before this issue started i tried to add a new item because i started learning how to create object and classes but any time i try to add a new item it just sends this message: Exception of type 'system.exception' was thrown/

Please i need help.

vs-generalvs-debuggingvs-setup
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ilovedumsky-6614 , May I know whether your issue has been solved or not? Please let me know if there is anything that I can help here.

0 Votes 0 ·


hey, okay so I uninstalled and reinstalled through the visual studio installer before i saw your post. Opened it now but i cant create a project, cause the only thing it shows is blank solution. Please any thoughts on what to do.

0 Votes 0 ·

1 Answer

TianyuSun-MSFT avatar image
0 Votes"
TianyuSun-MSFT answered

Hello @ilovedumsky-6614 ,

Welcome to Microsoft Q&A forum.

Please kindly check if your issue is similar to this issue An error was encountered while initializing templates. Looks like this is a “setup” issue, please try to repair Visual Studio 2019 from Visual Studio Installer > VS 2019 > More > Repair. If Repair doesn’t work, perhaps you need to try to uninstall VS 2019 and then reinstall it.

Here are the steps for uninstalling VS manually

1). Manually delete the cache files and folders you previously installed to
C:\Program Files (x86)\Microsoft Visual Studio
%programdata%\Microsoft\visualstudio\packages

2). Delete the setup registry key which was set when you first installed (remember to make a backup)
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\VisualStudio\Setup
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\Setup
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\Setup

Re-image the computer should be the last resort, if this issue block you for a long time, you can try it.

Best Regards,
Tianyu


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.