Skip to content

Conversation

@dotnet-maestro
Copy link
Contributor

@dotnet-maestro dotnet-maestro bot commented Dec 6, 2022

This pull request updates the following dependencies

From https://github.com/dotnet/msbuild

  • Subscription: 3911f289-5d48-4a76-3776-08daa2f83374
  • Build: 20221207.2
  • Date Produced: December 7, 2022 3:30:11 AM UTC
  • Commit: c5532da3a3c99817e70d95fe9e07302ba72ee523
  • Branch: refs/heads/main

…1206.6

Microsoft.Build , Microsoft.Build.Localization
 From Version 17.5.0-preview-22606-02 -> To Version 17.5.0-preview-22606-06
@ghost ghost added the Area-CodeFlow label Dec 6, 2022
@marcpopMSFT
Copy link
Member

@jaredpar it happened again in this PR where razor csproj had a copy problem:
D:\a\1\s\src\RazorSdk\Tasks\Microsoft.NET.Sdk.Razor.Tasks.csproj(107,5): error MSB3026: Could not copy "D:\a\1\s\src\RazorSdk\Targets\Sdk.Razor.CurrentVersion.targets" to "D:\a\1\s\artifacts\bin\Release\Sdks\Microsoft.NET.Sdk.Razor\targets\Sdk.Razor.CurrentVersion.targets". Beginning retry 1 in 1000ms. The process cannot access the file 'D:\a\1\s\artifacts\bin\Release\Sdks\Microsoft.NET.Sdk.Razor\targets\Sdk.Razor.CurrentVersion.targets' because it is being used by another process. [TargetFramework=net7.0]

…1207.1

Microsoft.Build , Microsoft.Build.Localization
 From Version 17.5.0-preview-22606-02 -> To Version 17.5.0-preview-22607-01
…1207.2

Microsoft.Build , Microsoft.Build.Localization
 From Version 17.5.0-preview-22606-02 -> To Version 17.5.0-preview-22607-02
@v-wuzhai v-wuzhai merged commit 3f8f9d7 into release/7.0.2xx Dec 7, 2022
@v-wuzhai v-wuzhai deleted the darc-release/7.0.2xx-bae044ef-3a54-4c7d-a77f-6c3e90d8ebb5 branch December 7, 2022 08:44
@jaredpar
Copy link
Member

@marcpopMSFT but how can we reproduce the build locally? As mentioned in the issue I've tried re-running the entire command locally but can't see any items in the ItemGroup that causes the error. That makes it very difficult to fix because I can't see if I'm having any impact on the problem.

To me this seems to be the fundamental problem. If we can't reporduce the build locally, or at least similulate most of the behavior, then how are we supposed to make this any better? Any fixes seem like they're guessing at the behavior. Retries are just masking the actual problems. On the other hand, if we can reproduce the build behavior locally then we can start making real improvements here.

@marcpopMSFT
Copy link
Member

Timing issues are going to be difficult to reproduce by their nature. I'd also ask if there was a way to essentially run the yml locally as that's your best way of recreating the exact environment. The next closest thing is running that msbuild command I sent you but any environment variables set would be different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants