Package.UserDataPath Package.UserDataPath Package.UserDataPath Property


Gets the path to user data storage for Visual Studio.

public string UserDataPath { get; }
member this.UserDataPath : string
Public ReadOnly Property UserDataPath As String
Property Value

The path to user data storage.


The UserDataPath property returns a path that can be used to store program state for the current user. This path is typically located at:

%USERPROFILE%\Application Data\Microsoft\Visual Studio\<version>, but this can change based on any alternate root that the shell was initialized with.

Applies to