Language setting of Visual C# causes error

Stan Huang 421 Reputation points
2020-12-29T02:33:42.587+00:00

I opened my C# project and started it, it ran very well as my expect. Then, I stopped it and changed language setting from Chinese to "Same as Windows" or English. I reopened it and got error, as attached. How come?51861-xx.png

Developer technologies Visual Studio Other
{count} votes

5 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2020-12-29T07:10:38.447+00:00

    Hi @Stan Huang ,

    Thank you for reporting it in Microsoft Q&A.

    From the screenshot, I suppose you are using the Visual Studio 2019. Have you tried to create a new C# project and check if the error occurs in specific project?

    Please try to repair your Visual Studio by running your VS Installer > More > Repair.
    After that, please open your Command Prompt and go to C:\Program Files (x86)\Microsoft Visual Studio\2019\[version]\Common7\IDE folder. Then, run the command: devenv /safemode to run your Visual Studio in safe mode. If your Visual Studio works fine in safe mode, the error may be caused by installed extensions. Please temporarily disable the extensions from Extensions > Manage Extensions > Installed > select and disable. Then, relaunch your Visual Studio as administrator to check if it works.

    Sincerely,
    Anna

    • 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.

  2. Stan Huang 421 Reputation points
    2020-12-29T10:48:27.417+00:00

    See attached file which is the result after I did as told by you.51957-zz.png


  3. Stan Huang 421 Reputation points
    2020-12-31T06:43:43.303+00:00

    Hi, AnnaXiu,

    1. I downloaded Visual Studio less than one week ago. So, it must be the lasted.
    2. I can't re-launch it because it showed only the error message I attached at the last posting once I ran it.

    Actually, I uninstalled it and re-installed more than once and got the same result. I think some bad setting was not removed even I uninstalled it. Maybe you need to teach me how to remove the whole Visual Studio package, including all its configuration and setting, not just the program itself. Then, I can reinstall it. It will at least run under Chinese mode.


  4. Stan Huang 421 Reputation points
    2021-01-13T01:46:08.35+00:00

    The link to uploaded files are: https://onedrive.live.com/?id=6E06E95606B5D313%21854&cid=6E06E95606B5D313

    Error message is as attached.55893-aa.png

    0 comments No comments

  5. Stan Huang 421 Reputation points
    2021-01-26T03:35:19.427+00:00

    Any updates? Can you connect to check it using TeamViewer?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.