-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Handle obsolete InterceptorsPreview with .NET 8 RC2 SDK #50797
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
Conversation
@captainsafia - Failures seem to be due to flaky tests. |
@wtgodbe Can you help merge this? Also, not sure if we need tactics at this point. The change here isn't in the product... |
@mthalman do we need this in RC2? We snapped the branch yesterday. At this point the |
Bummer, just ahead of the snap. I've retargeted to RC2 branch. Shouldn't need Tactics since this is infrastructure. |
Sounds good. We have auto-merges from rc2 -> 8.0 so it'll make it there automatically. We also have auto-merges from 8.0 to main, should this go into main as well? |
Yeah, it'll be needed in main too. |
* Handle obsolete InterceptorsPreview with .NET 8 RC2 SDK (#50797) * Quarantine (actually comment out) one of the CanRenderComponentWithPersistedState cases (#50811) See #50810 * Stop processing original response streaming content if user has started navigating away (#50814) * Reproduce #50733 as a failing E2E test * Don't process original request blazor-ssr content if the user has already navigated away * Quarantine (actually comment out) one of the CanRenderComponentWithPersistedState cases See #50810 * Update EventTest.cs * Disable another flaky test --------- Co-authored-by: Matt Thalman <[email protected]> Co-authored-by: Steve Sanderson <[email protected]>
…0823) * Handle obsolete InterceptorsPreview with .NET 8 RC2 SDK (dotnet#50797) * Quarantine (actually comment out) one of the CanRenderComponentWithPersistedState cases (dotnet#50811) See dotnet#50810 * Stop processing original response streaming content if user has started navigating away (dotnet#50814) * Reproduce dotnet#50733 as a failing E2E test * Don't process original request blazor-ssr content if the user has already navigated away * Quarantine (actually comment out) one of the CanRenderComponentWithPersistedState cases See dotnet#50810 * Update EventTest.cs * Disable another flaky test --------- Co-authored-by: Matt Thalman <[email protected]> Co-authored-by: Steve Sanderson <[email protected]>
Handle obsolete InterceptorsPreview with .NET 8 RC2 SDK
Description
When building the runtime repo using the latest build of .NET 8 RC2 SDK, it produces the following error:
##[error]/vmr/src/aspnetcore/artifacts/source-build/self/src/src/Identity/Core/src/Microsoft.AspNetCore.Http.RequestDelegateGenerator/Microsoft.AspNetCore.Http.RequestDelegateGenerator.RequestDelegateGenerator/GeneratedRouteBuilderExtensions.g.cs(62,10): error CS9137: (NETCORE_ENGINEERING_TELEMETRY=Build) The 'interceptors' experimental feature is not enabled in this namespace. Add '<InterceptorsPreviewNamespaces>$(InterceptorsPreviewNamespaces);Microsoft.AspNetCore.Http.Generated</InterceptorsPreviewNamespaces>' to your project.
This is due to a new change from Roslyn: dotnet/roslyn#69848. It replaces the usage of the
InterceptorsPreview
feature with anInterceptorsPreviewNamespaces
property that needs to specify the applicable namespace.The use of
InterceptorsPreview
in the project is still needed in order to work with the RC1 SDK. Both need to be specified as support for both versions of the SDK is required to support source-build scenarios. A separate issue will be logged as follow-up to remove the obsoleteInterceptorsPreview
feature usage.This change is needed for RC2 release.