Avatar ·

Erro "Could not find a part of the path ... bin\\roslyn\\csc.exe" em projeto ASP.NET

Olá a todos! Sou novo em C# e ASP.NET, estou trabalhando no Visual Studio 2019. Ao executar minha aplicação web (projeto ASP.NET MVC), de repente recebo o erro: ``` Could not find a part of the path 'D:\Projects\MyApp\MyApp\bin\roslyn\csc.exe' ``` O projeto funcionava normalmente antes, mas depois de adicionar o pacote NuGet Microsoft.CodeDom.Providers.DotNetCompilerPlatform e atualizar a solução, o erro aparece constantemente. Aqui está meu código (um controller simples): ```csharp public class HomeController : Controller { public ActionResult Index() { return View(); } } ``` Já tentei: 1. Limpar e recompilar a solução (Build -> Clean Solution, depois Rebuild). 2. Excluir as pastas bin e obj manualmente. 3. Reinstalar o Visual Studio (não adiantou). O erro ocorre durante a compilação.