dotnet/wpf

Avoid calling Path.GetTempFileName

Open

#259 aberto em 11 de jan. de 2019

Ver no GitHub
 (3 comments) (3 reactions) (0 assignees)C# (1.126 forks)batch import
:construction: work in progressEnhancement RequestedGood First Issue

Métricas do repositório

Stars
 (6.683 stars)
Métricas de merge de PR
 (Mesclagem média 2d 7h) (41 fundiu PRs em 30d)

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

Guia do colaborador