Closed xwellingtonx closed 4 years ago
The issue just happens when you have a old version of VS 2017 running side by side with VS 2019, it's mainly related with MSBuild, the links below provide more details.
https://github.com/microsoft/msbuild/issues/2427 https://github.com/microsoft/msbuild/issues/2369 https://github.com/microsoft/msbuild/pull/2454
The solution is to update the VS 2017 to the latest version, 15.9.21.
Release Type: Official
Version: master/master-3.1
Platform(s): All
Describe the bug Building Xenko through Visual Studio 2019 is throwing exceptions on Xenko.Core.Tasks when trying to run the pack assets, these exceptions are caused by the Microsoft.Build.Evaluation.ProjectCollection not been able to load the projects.
I've figured out that the issue is due the projects are using the MSBuild.Sdk.Extras package.
Xenko.Engine
This package is not used by others projects that runs the pack assets command as you can see below.
Xenko.Rendering
To Reproduce Steps to reproduce the behavior:
Expected behavior The Xenko.Core.Tasks should run the pack assets without any issue
Screenshots Attached to the description of the bug.
Log and callstacks N/A
Additional context N/A