简体   繁体   中英

Visual Studio creates gibberish folder

I'm using Visual Studio 2019 to develop with C#.

Sometimes Visual Studio creates a folder with a gibberish name when I build a solution, like

C:\FNTJ1nkhh1X4r0gk3geH5yIYY8=

This folder only contains the subfolder sqlite3\v1 which in turn contains the following files

  • db.lock
  • storage.ide
  • storage.ide-shm
  • storage.ide-wal

If such a folder is created, it is created for one certain solution, other solutions don't show that behaviour. Deleting the folder or recreating the solution doesn't help.

To rule them out I already disabled all extensions in Visual Studio but the problem remains.

I've also compared the affected solution file with an unaffected one but didn't find something suspicious.

Has anyone else experienced this and what could be the reason?

After @HansPassant's comment I dug a bit furhter and found that the folder should be located under

%LOCALAPPDATA%\Microsoft\VisualStudio\Roslyn\Cache\RemoteWorkspace

Searching for this location led me to this forum post which confirms this to be a bug in Visual Studio which should be fixed in Visual Studio 2019 version 16.8 preview 3.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM