Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected "Library" directory in home directory #5781

Closed
ManickaP opened this issue Jun 11, 2023 · 6 comments
Closed

Unexpected "Library" directory in home directory #5781

ManickaP opened this issue Jun 11, 2023 · 6 comments

Comments

@ManickaP
Copy link
Member

Environment data

dotnet --info output:

.NET SDK:
 Version:   8.0.100-preview.6.23305.3
 Commit:    d092ea07f8

Runtime Environment:
 OS Name:     arch
 OS Version:
 OS Platform: Linux
 RID:         arch-x64
 Base Path:   /usr/share/dotnet/sdk/8.0.100-preview.6.23305.3/

.NET workloads installed:
There are no installed workloads to display.

Host:
  Version:      8.0.0-preview.6.23304.2
  Architecture: x64
  Commit:       2bf8f1aa83

.NET SDKs installed:
  6.0.403 [/usr/share/dotnet/sdk]
  7.0.100 [/usr/share/dotnet/sdk]
  8.0.100-preview.4.23260.5 [/usr/share/dotnet/sdk]
  8.0.100-preview.6.23305.3 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.11 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 7.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.0-preview.4.23260.4 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.0-preview.6.23302.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.11 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 7.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.0-preview.4.23259.5 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.0-preview.6.23304.2 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

VS Code version:

Version: 1.78.2
Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
Date: 2023-05-10T14:47:05.613Z
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 6.3.3-arch1-1
Sandboxed: No

C# Extension version:

C#
v2.0.206
Pre-Release

OmniSharp log

N/A

Steps to reproduce

When I switched to the new C# extension, "Library" directory with Library/Application Support/Microsoft Visual Studio/prpbg.dat appears in my home directory. When deleted, it reappears every time a project is opened. This doesn't happen with OmniSharp.

Expected behavior

This extension should not make a mess in home directory, there is an XDG standard for configs, caches, local storages etc., see https://wiki.archlinux.org/title/XDG_Base_Directory.

Actual behavior

Follow the Linux standard and do not store those data in home in a non-hidden directory.

Additional context

OS: Arch Linux x86_64
Kernel: 6.3.3-arch1-1

@Igorgro
Copy link

Igorgro commented Jun 11, 2023

I have the same OS and extension version, but newer vscode and cannot reproduce this problem

@ManickaP
Copy link
Member Author

Still happening on:

Version: 1.79.0
Commit: b380da4ef1ee00e224a15c1d4d9793e27c2b6302
Date: 2023-06-07T14:28:44.251Z
Electron: 22.5.5
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 6.3.7-arch1-1

@dibarbet dibarbet self-assigned this Jun 12, 2023
@dibarbet dibarbet added this to the GA milestone Jun 12, 2023
@dibarbet
Copy link
Member

Are you using C# devkit as well?

@dibarbet
Copy link
Member

I can repro this using C# devkit. When devkit is enabled, it appears to create a prpbg.dat and prpbg.dat.bak in the folder you mention. If I have devkit disabled, the files are not created.

Closing this issue, track it on the devkit side here - microsoft/vscode-dotnettools#118

@ManickaP
Copy link
Member Author

Are you using C# devkit as well?

Yep, I do.

I can repro this using C# devkit. When devkit is enabled, it appears to create a prpbg.dat and prpbg.dat.bak in the folder you mention. If I have devkit disabled, the files are not created.

Closing this issue, track it on the devkit side here - microsoft/vscode-dotnettools#118

I'll be watching that issue then. Thanks.

@dibarbet
Copy link
Member

dibarbet commented Jun 16, 2023

Apparently, I didn't actually hit the close button the first time. Actually closing it this time in favor of microsoft/vscode-dotnettools#118

@dibarbet dibarbet closed this as not planned Won't fix, can't repro, duplicate, stale Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants