stride3d / stride3d/stride

Unable to build project with latest Visual Studio

Open
#2,523 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

  1. Update Visual Studio to latest version 17.12.0+
  2. Clean
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.