Closed gasparnagy closed 1 month ago
After some debugging, it seems that the problem is caused by the change: https://github.com/reqnroll/Reqnroll/commit/5e81d0d0afb69c4a32ce0bd3e7c6b0f6ccf85113
If I remove the TaskFactory="TaskHostFactory"
setting from the <UsingTask>
entries at https://github.com/reqnroll/Reqnroll/blob/main/Reqnroll.Tools.MsBuild.Generation/build/Reqnroll.Tools.MsBuild.Generation.tasks#L9, the build starts to work.
We have introduced these settings to avoid file locks in Visual Studio when we develop Reqnroll itself, so probably the fix could be to somehow set this to conditional and only use it when it is calling from VS.
Reqnroll Version
2.0.0
Which test runner are you using?
MSTest
Test Runner Version Number
n/a
.NET Implementation
.NET 8.0
Test Execution Method
Other – PLEASE SPECIFY
Content of reqnroll.json configuration file
No response
Issue Description
It seems that Reqnroll v2.0.0 projects fail to build on MacOS ARM64 processor machines.
The error message is similar to this:
Related discussion: https://github.com/orgs/reqnroll/discussions/143
With Reqnroll 1.0.0 it works!
Steps to Reproduce
dotnet build
Link to Repro Project
No response