-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[release/8.0] Update dependencies from dotnet/roslyn #92149
[release/8.0] Update dependencies from dotnet/roslyn #92149
Conversation
…915.1 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23462.10 -> To Version 4.8.0-3.23465.1
…915.2 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23462.10 -> To Version 4.8.0-3.23465.2
…915.4 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23462.10 -> To Version 4.8.0-3.23465.4
…915.5 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23462.10 -> To Version 4.8.0-3.23465.5
@ericstj this roslyn deps update is broken. Who can take a look at source generator and interceptors-related failures? The failure is:
|
@carlossanlop I'll push a fix. |
The fix here is to find all the projects with https://github.com/search?q=repo%3Adotnet%2Fruntime%20InterceptorsPreview&type=code And make them instead use <InterceptorsPreviewNamespaces>$(InterceptorsPreviewNamespaces);Microsoft.Extensions.Configuration.Binder.SourceGeneration</InterceptorsPreviewNamespaces> Probably need the same in the PR that's pulling this Roslyn version into MAIN as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you, @carlossanlop
…918.1 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23462.10 -> To Version 4.8.0-3.23468.1
...ourceGenerationTests/Microsoft.Extensions.Configuration.Binder.SourceGeneration.Tests.csproj
Show resolved
Hide resolved
...osoft.Extensions.Logging.Configuration/src/Microsoft.Extensions.Logging.Configuration.csproj
Show resolved
Hide resolved
...braries/Microsoft.Extensions.Logging.Console/src/Microsoft.Extensions.Logging.Console.csproj
Show resolved
Hide resolved
...tionTests/Microsoft.Extensions.Options.ConfigurationExtensions.SourceGeneration.Tests.csproj
Show resolved
Hide resolved
It looks like the test helpers also need to specify the new property: Line 135 in 1f9764f
This is why the tests are failing here. It's because they are running the new compiler which doesn't seem to like having only the Feature set. |
@RikkiGibson can you tell us how our tests should set I see, I think we can use Features API. We need CSharpParseOptions parseOptions = new CSharpParseOptions(langVersion).WithFeatures(new[]
{
new KeyValuePair<string, string>("InterceptorsPreview", ""),
new KeyValuePair<string, string>("InterceptorsPreviewNamespaces", "Microsoft.Extensions.Configuration.Binder.SourceGeneration"),
}); |
…torTests.Helpers.cs
…918.3 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23462.10 -> To Version 4.8.0-3.23468.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This looks like it's good to go, if Roslyn would just stop building to update this PR 😆 |
…918.4 Microsoft.CodeAnalysis , Microsoft.CodeAnalysis.CSharp , Microsoft.Net.Compilers.Toolset From Version 4.8.0-3.23462.10 -> To Version 4.8.0-3.23468.4
Still seeing one failure related to the interceptors, unfortunately. I'll take a look tomorrow. The Tensors failure is unrelated, seems it was introduced here: #92245 @mmitche I haven't snapped rc2 due to this PR and a few other PRs that came in late, but will work on it tomorrow first thing in the morning. |
This pull request updates the following dependencies
From https://github.com/dotnet/roslyn