dotnet / dotnet/dotnet-api-docs

Incorrect description of the User directory location

Open
#10,709 0 comments 0 reactions 0 assignees View on GitHub
area-WinForms Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

### Type of issue

Outdated article

### Description

Under property value, the page says this:

> This path will be different depending on whether the Windows Forms application is deployed using ClickOnce. ClickOnce applications are stored in a per-user application cache in the C:\Documents and Settings\username directory. For more information, see [Accessing Local and Remote Data in ClickOnce Applications](https://learn.microsoft.com/en-us/visualstudio/deployment/accessing-local-and-remote-data-in-clickonce-applications).

The path describes the username directory as existing under "Documents and Settings" which is not the correct location under Windows 10 and beyond.

### Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.application.startuppath?view=netframework-4.8.1&devlangs=csharp&f1url=%3FappId%3DDev17IDEF1%26l%3DEN-US%26k%3Dk(System.Windows.Forms.Application.StartupPath)%3Bk(SolutionItemsProject)%3Bk(TargetFrameworkMoniker-.NETFramework%2CVersion%253Dv4.8.1)%3Bk(DevLang-csharp)%26rd%3Dtrue

### Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Windows.Forms/Application.xml

### Document Version Independent Id

a7368fc8-c2a8-ce71-a8ec-d4dd00ad2e8e

### Article author

@dotnet-bot

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.