Can I safely delete "AppData\Local\Microsoft\VisualStudio\Roslyn\Cache\"?

Jeff Nygren 121 Reputation points
2021-07-20T16:08:07.493+00:00

What purpose is served by the half gigabyte of data in "C:\Users(user)\AppData\Local\Microsoft\VisualStudio\Roslyn\Cache\"? What will I lose if I delete it? Will deleting this data harm my system?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,099 questions
0 comments No comments
{count} votes

Accepted answer
  1. PengGe-MSFT 3,356 Reputation points
    2021-07-21T05:30:12.647+00:00

    Hi @Jeff Nygren

    Welcome to Microsoft Q&A!

    .NET Compiler Platform, also known by its nickname Roslyn, is a set of open-source compilers and code analysis APIs for C# and Visual Basic languages from Microsoft. Deleting this cache folder will not affect Visual Studio, but it may affect the loading speed of .NET Compiler Platform (Roslyn) Analyzers.

    Sincerely,
    Peng
    *
    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.