Unable to build project with latest Visual Studio
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
Release Type: Official Release
Version: 4.2.0.2232
Platform(s): Windows/Linux, likely all others but untested.
Describe the bug
Unable to build project with Stride packages on latest Visual Studio.
To Reproduce
- Update Visual Studio to latest version 17.12.0+
- Clean
- Attempt to build
Expected behavior
Should build regardless of new VS versions, unless VS explicitly broke something.
Log and callstacks
Error shows as:
[AssetCompiler] Could not find a compatible version of MSBuild.
The command "dotnet "C:\Users\<UserHere>\.nuget\packages\stride.core.assets.compilerapp\4.2.0.2232\buildTransitive\..\lib\net8.0-windows7.0\Stride.Core.Assets.CompilerApp.dll" --disable-auto-compile --project-configuration "Debug" --platform=Windows --project-configuration=Debug --compile-property:StrideGraphicsApi=Direct3D11 --output-path="<ProjectPath>\Bin\Windows\Debug\win-x64\data" --build-path="<ProjectPath>\<ProjectName>.Windows\obj\stride\assetbuild\data" --package-file="<ProjectPath>\<ProjectName>.Windows\<ProjectName>.Windows.csproj" --msbuild-uptodatecheck-filebase="<ProjectPath>\<ProjectName>.Windows\obj\Debug\win-x64\stride\assetcompiler-uptodatecheck"" exited with code 1.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with Stride 4.2.0.2232 after updating Visual Studio to 17.12.0 or later, cleaning, and building a project. Start from the AssetCompiler error and its MSBuild compatibility check; done means Stride projects build successfully with the newer Visual Studio version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100