6.0.2 SDK update has broken WinForms apps (#328)

This commit is contained in:
Markus Hofknecht 2022-02-13 22:20:13 +01:00
parent 44db922628
commit f8f50d6c27

View file

@ -352,4 +352,9 @@ EXIT 0</PreBuildEvent>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="if not exist &quot;$(ProjectDir)$(OutDir)\Languages&quot; mkdir &quot;$(ProjectDir)$(OutDir)\Languages&quot;&#xD;&#xA;&#xD;&#xA;cd $(ProjectDir)$(OutDir)&#xD;&#xA;&#xD;&#xA;xcopy /y /i /q &quot;cs-CZ&quot; &quot;Languages\cs-CZ&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;cs-CZ&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;de-DE&quot; &quot;Languages\de-DE&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;de-DE&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;es-ES&quot; &quot;Languages\es-ES&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;es-ES&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;fa-IR&quot; &quot;Languages\fa-IR&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;fa-IR&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;fr-FR&quot; &quot;Languages\fr-FR&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;fr-FR&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;it-IT&quot; &quot;Languages\it-IT&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;it-IT&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;ja-JP&quot; &quot;Languages\ja-JP&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;ja-JP&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;ko-KR&quot; &quot;Languages\ko-KR&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;ko-KR&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;nl-NL&quot; &quot;Languages\nl-NL&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;nl-NL&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;pt-BR&quot; &quot;Languages\pt-BR&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;pt-BR&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;ru-RU&quot; &quot;Languages\ru-RU&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;ru-RU&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;tr-TR&quot; &quot;Languages\tr-TR&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;tr-TR&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;vi-VN&quot; &quot;Languages\vi-VN&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;vi-VN&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;zh-CN&quot; &quot;Languages\zh-CN&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;zh-CN&quot; &gt;nul&#xD;&#xA;xcopy /y /i /q &quot;ref&quot; &quot;Languages\ref&quot; &gt;nul&#xD;&#xA;rd /s /q &quot;ref&quot; &gt;nul" />
</Target>
<ItemGroup>
<FrameworkReference
Update="Microsoft.WindowsDesktop.App;Microsoft.WindowsDesktop.App.WPF;Microsoft.WindowsDesktop.App.WindowsForms"
TargetingPackVersion="6.0.0" />
</ItemGroup>
</Project>