Github действия построить проект UWP - PullRequest
0 голосов
/ 17 февраля 2020

Я не могу построить проект UWP с действиями Github. Я запускаю dotnet build --configuration Release на всем решении, но для UWP ошибка:

error MSB4019: The imported project "C:\hostedtoolcache\windows\dncs\3.1.101\x64\sdk\3.1.101\Microsoft\WindowsXaml\v16.0\Microsoft.Windows.UI.Xaml.CSharp.targets" was not found. Confirm that the expression in the Import declaration "C:\hostedtoolcache\windows\dncs\3.1.101\x64\sdk\3.1.101\\Microsoft\WindowsXaml\v16.0\Microsoft.Windows.UI.Xaml.CSharp.targets" is correct, and that the file exists on disk.

Локально я использую VS 2019 Pro, 16.4.5. У меня есть этот импорт в моем csproj (создан по умолчанию шаблон VS):

<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />

Я попытался установить visualstudio2019-workload-universal с шоколадной, но тот же результат.

Ссылки на Сборка , yaml , csproj

Есть идеи, как решить проблему сборки?

...