Skip to content

Use recommended storage locations for app and user data #7608

@danielniccoli

Description

@danielniccoli

On Windows, .NET 6 is putting application data directly in the user profile at $env:userprofile\.dotnet. This violates Microsoft recommendations for Windows operating systems and should be moved to the recommended locations.

grafik

A selection of recommended storage locations are

  • ApplicationData (roaming)
  • LocalApplicationData (non-roaming e.g., Local/LocalLow)
  • CommonApplicationData (non-roaming)
  • CommonProgramFiles (non-roaming)

Source and details about recommended storage locations:
https://docs.microsoft.com/en-us/dotnet/api/system.environment.specialfolder?view=net-6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions