dotnet/wpf

Avoid calling Path.GetTempFileName

Open

#259 geöffnet am 11. Jan. 2019

Auf GitHub ansehen
 (3 Kommentare) (3 Reaktionen) (0 zugewiesene Personen)C# (6.683 Stars) (1.126 Forks)batch import
:construction: work in progressEnhancement RequestedGood First Issue

Beschreibung

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

Contributor Guide