“C# 2017 compiler could not be created” error message while opening project

前端 未结 2 2364
无人共我
无人共我 2021-01-04 19:34

I\'ve Visual Studio 2017 community edition. I have a C# project created using Visual Studio 2015. When I try to open the project in VS 2017 I get an error message prompt:

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-04 20:15

    You can try to close all VS 2017 instances and delete the folder %localappdata%\Microsoft\VisualStudio\15.0_xxxx\ComponentModelCache, then open VS to create a new Console project.

    Or

    please re-run the VS 2017 installer as administrator, click the icon beside ‘Launch’ button and choose ‘Repair’ to repair as shown below:

提交回复
热议问题