Skip to content

Can only build Roslyn.sln a single time before building breaks (2) #74156

@CyrusNajmabadi

Description

@CyrusNajmabadi

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 fails with:

...
8>Roslyn.VisualStudio.Setup -> D:\github\roslyn\artifacts\bin\Roslyn.VisualStudio.Setup\Debug\net472\Roslyn.VisualStudio.Setup.dll
8>InteractiveHost64 -> D:\github\roslyn\artifacts\bin\InteractiveHost64\Debug\net8.0-windows\win-x64\publish\
8>InteractiveHost64 -> D:\github\roslyn\artifacts\bin\InteractiveHost64\Debug\net472\win-x64\publish\
8>InteractiveHost32 -> D:\github\roslyn\artifacts\bin\InteractiveHost32\Debug\net472\InteractiveHost32.exe
8>D:\github\roslyn\src\VisualStudio\CSharp\Impl\Options\Formatting\FormattingOptionPageControl.xaml.cs(16,35,16,59): error CS0281: Friend access was granted by 'Microsoft.VisualStudio.LanguageServices.Implementation, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35', but the public key of the output assembly ('') does not match that specified by the InternalsVisibleTo attribute in the granting assembly.
8>CSC : error CS8102: Public signing was specified and requires a public key, but no public key was specified.
8>D:\github\roslyn\src\VisualStudio\CSharp\Impl\ChangeSignature\CSharpChangeSignatureViewModelFactoryService.cs(14,85,14,115): error CS0281: Friend access was granted by 'Microsoft.VisualStudio.LanguageServices, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35', but the public key of the output assembly ('') does not match that specified by the InternalsVisibleTo attribute in the granting assembly.
8>D:\github\roslyn\src\VisualStudio\CSharp\Impl\Interactive\CSharpVsInteractiveWindowPackage.cs(8,70,8,75): error CS0281: Friend access was granted by 'Microsoft.VisualStudio.LanguageServices, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35', but the public key of the output assembly ('') does not match that specified by the InternalsVisibleTo attribute in the granting assembly.
8>D:\github\roslyn\src\VisualStudio\CSharp\Impl\Interactive\CSharpVsInteractiveWindowProvider.cs(22,70,22,75): error CS0281: Friend access was granted by 'Microsoft.VisualStudio.LanguageServices, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35', but the public key of the output assembly ('') does not match that specified by the InternalsVisibleTo attribute in the granting assembly.
8>D:\github\roslyn\src\VisualStudio\CSharp\Impl\Options\CSharpVisualStudioOptionStorageReadFallbacks.cs(64,105,64,125): error CS0281: Friend access was granted by 'Microsoft.VisualStudio.LanguageServices, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35', but the public key of the output assembly ('') does not match that specified by the InternalsVisibleTo attribute in the granting assembly.
8>D:\github\roslyn\src\VisualStudio\CSharp\Impl\ChangeSignature\CSharpChangeSignatureViewModelFactoryService.cs(19,67,19,105): error CS0281: Friend access was granted by 'Microsoft.VisualStudio.LanguageServices, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35', but the public key of the output assembly ('') does not match that specified by the InternalsVisibleTo attribute in the granting assembly.
8>D:\github\roslyn\src\VisualStudio\CSharp\Impl\ObjectBrowser\CSharpLibraryService.cs(17,43,17,65): error CS0281: Friend access was granted by 'Microsoft.VisualStudio.LanguageServices, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35', but the public key of the output assembly ('') does not match that specified by the InternalsVisibleTo attribute in the granting assembly.
8>D:\github\roslyn\src\VisualStudio\CSharp\Impl\LanguageService\CSharpCodeCleanupFixerProvider.cs(19,53,19,85): error CS0281: Friend access was granted by 'Microsoft.VisualStudio.LanguageServices, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35', but the public key of the output assembly ('') does not match that specified by the InternalsVisibleTo attribute in the granting assembly.
8>D:\github\roslyn\src\VisualStudio\CSharp\Impl\Options\AdvancedOptionPage.cs(13,41,13,59): error CS0281: Friend access was granted by 'Microsoft.VisualStudio.LanguageServices.Implementation, Version=42.42.42.42, Culture=neutral, PublicKeyToken=31bf3856ad364e35', but the public key of the output assembly ('') does not match that specified by the InternalsVisibleTo attribute in the granting assembly.
...
12>Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests -> D:\github\roslyn\artifacts\bin\Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests\Debug\net472\Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests.dll
12>Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests -> D:\github\roslyn\artifacts\bin\Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests\Debug\net8.0\Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests.dll
========== Build: 7 succeeded, 5 failed, 195 up-to-date, 0 skipped ==========
========== Build completed at 2:15 PM and took 23.812 seconds ==========

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions