Skip to content
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

Incremental builds are broken in Roslyn.sln. #74154

Open
CyrusNajmabadi opened this issue Jun 25, 2024 · 0 comments
Open

Incremental builds are broken in Roslyn.sln. #74154

CyrusNajmabadi opened this issue Jun 25, 2024 · 0 comments
Labels
Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@CyrusNajmabadi
Copy link
Member

Using:

image

Repro steps.

  1. Build Roslyn.sln.
  2. Build Roslyn.sln again

First time succeeds with:

WARNING: Potential build performance issue in 'IntegrationTestBuildProject.csproj'. The project does not appear up-to-date after a successful build: Output 'D:\github\roslyn\artifacts\bin\IntegrationTestBuildProject\Debug\net45\IntegrationTestBuildProject.dll' does not exist, not up-to-date. See https://aka.ms/incremental-build-failure.
========== Rebuild All: 207 succeeded, 0 failed, 0 skipped ==========
========== Rebuild completed at 2:10 PM and took 03:20.100 minutes ==========

Second time causes roslyn to rebuild 30 projects, even though nothing has changed:

...
30>PrepareTests -> D:\github\roslyn\artifacts\bin\PrepareTests\Debug\net8.0\PrepareTests.dll
30>RunTests -> D:\github\roslyn\artifacts\bin\RunTests\Debug\net8.0\RunTests.dll
30>VisualStudio.SetupPackage -> D:\github\roslyn\artifacts\obj\Microsoft.CodeAnalysis.Compilers.Setup.x64\Debug\net472\Microsoft.CodeAnalysis.Compilers.x64.vsix
30>VisualStudio.SetupPackage -> D:\github\roslyn\artifacts\obj\Microsoft.CodeAnalysis.Compilers.Setup.x86\Debug\net472\Microsoft.CodeAnalysis.Compilers.x86.vsix
30>Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests -> D:\github\roslyn\artifacts\bin\Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests\Debug\net8.0\Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests.dll
30>VisualStudio.SetupPackage -> D:\github\roslyn\artifacts\obj\Microsoft.CodeAnalysis.Compilers.Setup.arm64\Debug\net472\Microsoft.CodeAnalysis.Compilers.arm64.vsix
30>Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests -> D:\github\roslyn\artifacts\bin\Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests\Debug\net472\Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests.dll
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

1 participant