-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[master] Update dependencies from dotnet/arcade #243
[master] Update dependencies from dotnet/arcade #243
Conversation
…124.1 - Microsoft.DotNet.XUnitExtensions - 5.0.0-beta.19574.1 - Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19574.1 - Microsoft.DotNet.VersionTools.Tasks - 5.0.0-beta.19574.1 - Microsoft.DotNet.ApiCompat - 5.0.0-beta.19574.1 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19574.1 - Microsoft.DotNet.Build.Tasks.Configuration - 5.0.0-beta.19574.1 - Microsoft.DotNet.Build.Tasks.Feed - 5.0.0-beta.19574.1 - Microsoft.DotNet.Build.Tasks.Packaging - 5.0.0-beta.19574.1 - Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk - 5.0.0-beta.19574.1 - Microsoft.DotNet.CodeAnalysis - 5.0.0-beta.19574.1 - Microsoft.DotNet.GenAPI - 5.0.0-beta.19574.1 - Microsoft.DotNet.GenFacades - 5.0.0-beta.19574.1 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.19574.1 - Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19574.1
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Is this change included? dotnet/arcade#4424 |
Seems like it is :(. |
Is there a binlog for the failed build? I see just a text log file |
This comment has been minimized.
This comment has been minimized.
I've been trying to repro this locally and haven't been able to. It seems like a race condition because of the |
This comment has been minimized.
This comment has been minimized.
Also note that it doesn't fail for the second inner build (net46) but it does for the first one (netstandard2.0). This project cross compiles for those two target frameworks. |
The whole trouble with this target are the race conditions (or rather correct build target ordering). |
I am running out of ideas :( We do chain after CoreBuild precisely to have the PDB available before the target runs. |
This comment has been minimized.
This comment has been minimized.
In the meantime I set the installer.tasks as Based on my understanding of the binlog the chaining is not happening correctly CoreCompile seems to me to be running in parallel. |
This comment has been minimized.
This comment has been minimized.
I also see this message in the evaluation of the project:
|
This comment has been minimized.
This comment has been minimized.
When an error happens, the binlog parenting gets really messed up, in my experience. But something to note is that targets within a single project never run in parallel, only projects can run in parallel to each other in MSBuild. Setting IsShipping false makes sense to me. This may be another thing that is missing now that installer.tasks was moved and doesn't inherit |
This comment has been minimized.
This comment has been minimized.
I just searched for that in core-setup and it didn't define it. This target I believe was running differently. This is the change that caused this issue to show up: dotnet/arcade#4379 |
This might be one of the problems: <MSBuild Projects="@(RepoTaskProjects)"
Properties="Configuration=Debug;Platform=AnyCPU"
Targets="Restore;Build"/> AFAIK, it is not ok to run Restore and Build targets at the same time. |
This comment has been minimized.
This comment has been minimized.
from https://stackoverflow.com/questions/997047/how-to-run-tasks-in-parallel-in-msbuild |
Can we move this project to Arcade repo to avoid this pre-build logic, as the comment in Build.props suggests?
|
This comment has been minimized.
This comment has been minimized.
Note that this is also happening for some of coreclr projects:
|
Sure we can (and we should at some point) but how would that solve the issue? |
This comment has been minimized.
This comment has been minimized.
I think the problem is in the way how build targets are invoked in Build.props. So, this would eliminate that. I'd suggest separating
Like we do in Arcade's build.proj. I remember keeping these together used to cause problems. |
This comment has been minimized.
This comment has been minimized.
a911e7c
to
3c6fe5f
Compare
What about the coreclr projects that are also failing that I pointed above? Those don't have that behavior, so I think that's not the problem. Should those not be ProjectReferences of |
This comment has been minimized.
This comment has been minimized.
If that is not the problem then I don't know what is. Up to you to figure out now. I am out of ideas. |
Auto-Merge StatusThis pull request has not been merged because Maestro++ is waiting on the following merge policies.
|
411b452
to
a1b3623
Compare
a1b3623
to
4f71435
Compare
…125.7 - Microsoft.DotNet.XUnitExtensions - 5.0.0-beta.19575.7 - Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19575.7 - Microsoft.DotNet.VersionTools.Tasks - 5.0.0-beta.19575.7 - Microsoft.DotNet.ApiCompat - 5.0.0-beta.19575.7 - Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.19575.7 - Microsoft.DotNet.Build.Tasks.Configuration - 5.0.0-beta.19575.7 - Microsoft.DotNet.Build.Tasks.Feed - 5.0.0-beta.19575.7 - Microsoft.DotNet.Build.Tasks.Packaging - 5.0.0-beta.19575.7 - Microsoft.DotNet.Build.Tasks.SharedFramework.Sdk - 5.0.0-beta.19575.7 - Microsoft.DotNet.CodeAnalysis - 5.0.0-beta.19575.7 - Microsoft.DotNet.GenAPI - 5.0.0-beta.19575.7 - Microsoft.DotNet.GenFacades - 5.0.0-beta.19575.7 - Microsoft.DotNet.Helix.Sdk - 5.0.0-beta.19575.7 - Microsoft.DotNet.RemoteExecutor - 5.0.0-beta.19575.7
@tmat just wanted to say thank you for the recommendation, this helped in another case in coreclr where the design time properties and targets weren't imported correctly. I also found the issue that discusses the problem: dotnet/msbuild#2811 |
This pull request updates the following dependencies
From https://github.com/dotnet/arcade