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

SDK content diffs - .NET 9 - roslyn #4016

Closed
ellahathaway opened this issue Jan 24, 2024 · 9 comments · Fixed by dotnet/installer#18374
Closed

SDK content diffs - .NET 9 - roslyn #4016

ellahathaway opened this issue Jan 24, 2024 · 9 comments · Fixed by dotnet/installer#18374
Assignees
Labels
area-testing Improvements in CI and testing

Comments

@ellahathaway
Copy link
Member

ellahathaway commented Jan 24, 2024

Microsoft and source-built SDKs contain the following difference related to roslyn content and packages. There should be no unintentional differences.

All intentional differences should be captured in SDK diff exclusion file:

Related files only present in Source-built SDK:

./sdk/x.y.z/Roslyn/bincore/System.Collections.Immutable.dll
./sdk/x.y.z/Roslyn/bincore/System.Reflection.Metadata.dll

Related to #4013

Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ellahathaway
Copy link
Member Author

ellahathaway commented Jan 24, 2024

I believe that this may be related to dotnet/dotnet@1d89b47.

The VMR does not include ./sdk/x.y.z/Roslyn/bincore/Microsoft.CodeAnalysis.ExternalAccess.RazorCompiler.dll because it was removed in dotnet/dotnet@1d89b47.

However, the package is still included in the format repo: https://github.com/dotnet/format/blob/main/Directory.Packages.props#L41.

cc/@mthalman

@mthalman
Copy link
Member

This is because of dotnet/format#2075.

The reason it's not in the VMR is because we have a patch that removes it.

This is essentially a version coherency issue. The format repo needs to update its dependency to be a newer version of Roslyn.

Because of that, this SDK diff is expected.

@ellahathaway
Copy link
Member Author

Possibly added back in by dotnet/roslyn#73697?

@mthalman
Copy link
Member

In general, it's preferred to open a new issue in this case since the original issue was successfully resolved.

@ellahathaway
Copy link
Member Author

In general, it's preferred to open a new issue in this case since the original issue was successfully resolved.

Good to know! I'll be sure to do that next time :)

@MichaelSimons MichaelSimons added area-testing Improvements in CI and testing and removed untriaged labels Jun 27, 2024
@ellahathaway
Copy link
Member Author

The diffs are no longer appearing in the latest build (internal Microsoft link). This is the second time these diffs have appeared and disappeared, so I think that it is still worth investigating what is causing these diffs.

@ellahathaway
Copy link
Member Author

Diffs removed from baseline in dotnet/sdk#42393 - continuing to investigate

@ellahathaway
Copy link
Member Author

The diffs were removed with the rebootstrapping that occured: dotnet/dotnet@2053724. Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing Improvements in CI and testing
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants