dotnet/wpf

Avoid calling Path.GetTempFileName

Open

#259 ouverte le 11 janv. 2019

Voir sur GitHub
 (3 commentaires) (3 réactions) (0 assignés)C# (1 126 forks)batch import
:construction: work in progressEnhancement RequestedGood First Issue

Métriques du dépôt

Stars
 (6 683 stars)
Métriques de merge PR
 (Merge moyen 2j 7h) (41 PRs mergées en 30 j)

Description

System.Windows.Input.Cursor.LoadFromStream may throw IOException. DevDiv\FX\Rel\Net471Rel1Last\wpf\src\Core\CSharp\System\Windows\Input\Cursor.cs calls Path.GetTempFileName which will throw if the %TEMP% directory contains too many temp files (65k).

Reported by customer as VS Feedback issue

Guide contributeur