Pre-build step of a project executing before building its dependency? #10802
Unanswered
TheRealQuantam
asked this question in
Q&A
Replies: 1 comment
-
Try to collect binlog for the success and failed case and it should help you pinpoint the difference. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the following use case in an msbuild solution:
The relevant portion of 2's csproj is this:
This works fine on my own computer in Visual Studio 2022. However, when this is executed as part of a GitHub CI action (while this has so far only been seen in GitHub actions,
dotnet build
appears to all be a single step in the action, leading me to believe this reflects msbuild behavior; action files here), the build fails for:This failure occurs before the assembler is even built (in fact it's one of the first lines of the build log). Furthermore, it happens regardless of whether it's running on Windows or Linux.
Does msbuild allow pre-build actions to occur prior to building projects that are dependencies of the project with the pre-build step?
Beta Was this translation helpful? Give feedback.
All reactions