dotnet/wpf

Avoid calling Path.GetTempFileName

Open

#259 建立於 2019年1月11日

在 GitHub 查看
 (3 留言) (3 反應) (0 負責人)C# (6,683 star) (1,126 fork)batch import
:construction: work in progressEnhancement RequestedGood First Issue

描述

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

貢獻者指南