-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Add missing assembly references after dependency update to 11.0.0-alpha #64742
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
base: darc-main-6224f5aa-e632-4669-b1f6-6ec23567b9ec
Are you sure you want to change the base?
Add missing assembly references after dependency update to 11.0.0-alpha #64742
Conversation
The Razor Class Library template has an option, `SupportsPagesAndViews` that causes it to produce one of two sets of files. If true, then `Areas/MyFeature/Pages/Page1.cshtml` is created. If false, then `Component1.razor` is created. The issue with the previous template is that the set of primary outputs and the corresponding `openInEditor` post-actions were not taking this option into account, and were always trying to open the `Page1.cshtml` file, even if it didn't exist on disk. This led to the bug described in microsoft/vscode-dotnettools#2489 C# Dev Kit has been patched to not show warnings when a template specifies that non-existent files should be opened. With the change here, users creating this template will now see the correct file opened. This applies both to VS and CDK.
….js and blazor.webassembly.js (#64629) * Accept blazor.web.js startup options format in blazor.server.js and blazor.webassembly.js
* Update README.md Fixing SDK link. * Update README.md * Update README.md --------- Co-authored-by: William Godbe <[email protected]>
* OpenAPI schemas: Add failing test for circular references with an array * Fix array circular references. The fix is done by registering components before going deep into the recursion tree (where the leaves would be registered first). Fixing this revealed an issue for default values for "local" attributes. Local attributes/parameter info should not apply to componetized schemas. * Fix build warnings * Fix missing negation * Cleanup some funky logic * Fix cases where the schemas will not be componetized because the x-schema-id is null or empty * Stop ResolveReferenceForSchema when the schema has already been resolved * Remove unused method `CreateReference` * Remove OpenApiSchemaKey as only the Type property was used * Remove unnecessary using * Fix punctuation in comment. * Refactor null check in AddOpenApiSchemaByReference * Fix schemaId to be null instead of string.Empty when a schema is not componetized * Remove x-ref-id metadata as it isn't used anymore (and gave undesired results)
…library-project-template Fix post actions for Razor Class Library template
* Remove [Obsolete] APIs from Components * Fix sign-out validation logic to not fail when HistoryEntryState is null Co-authored-by: javiercn <[email protected]> --------- Co-authored-by: Javier Calvarro Nelson <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: javiercn <[email protected]>
…64732) * Improve Blazor reconnection experience after server restart * Update CannotResumeAppWhenPersistedComponentStateIsNotAvailable to reflect change in ResumeCircuit * Revert a minor UI change * Add E2E tests to check reconnection behavior without server state * Fix typos * Add missing hiding of buttons in DefaultReconnectDisplay
|
@copilot correction: References should look like |
Added Microsoft.AspNetCore.Http.Abstractions, Microsoft.AspNetCore.Http.Features, Microsoft.Extensions.Features, and Microsoft.AspNetCore.Hosting.Server.Abstractions references to projects that need them after dependency updates. Co-authored-by: wtgodbe <[email protected]>
Added references to Microsoft.AspNetCore.Authentication.csproj and Microsoft.AspNetCore.Server.IISIntegration.csproj Co-authored-by: wtgodbe <[email protected]>
…ects Added references to multiple middleware projects (CookiePolicy, RequestDecompression, HeaderPropagation, HttpsPolicy, WebSockets, ResponseCaching, ResponseCompression), MVC.Core, and SignalR Http.Connections. Co-authored-by: wtgodbe <[email protected]>
Added Microsoft.AspNetCore.Http.Features to CORS and Http.Results, and Microsoft.AspNetCore.Routing.Abstractions to Http.Results to resolve LinkGenerator type issues. Co-authored-by: wtgodbe <[email protected]>
The full CI build completed with exit code 0, which suggests the errors may be intermittent or in specific configurations. Let me build some specific projects that are more likely to have errors to identify the remaining issues. I'll focus on test projects and samples since those haven't been systematically fixed yet. |
Co-authored-by: wtgodbe <[email protected]>
…nces" This reverts commit 6bdc4c3.
Summary
Fixed build errors after dependency update from 10.0.x to 11.0.0-alpha by adding explicit Reference elements to 85+ unique projects across 19 rounds of fixes. The local CI build now completes successfully.
All References Added:
Microsoft.AspNetCore.Http- IHttpActivityFeature, HeaderDictionaryMicrosoft.AspNetCore.Http.Abstractions- HttpContext, RequestDelegate, IApplicationBuilder, HttpMethods, BadHttpRequestException, routing featuresMicrosoft.AspNetCore.Http.Features- IHeaderDictionary, IHttpRequestFeature, IFormFeature, and many other HTTP-related feature interfacesMicrosoft.Extensions.Features- IFeatureCollectionMicrosoft.AspNetCore.Hosting.Server.Abstractions- IServer, IHttpApplication<>, IServerAddressesFeatureMicrosoft.AspNetCore.Hosting.Abstractions- IWebHostBuilder, WebHostBuilderContext, IWebHostEnvironment, IWebHostMicrosoft.AspNetCore.Routing.Abstractions- LinkGenerator, Endpoint, EndpointBuilder, routing typesMicrosoft.AspNetCore.Authentication.Abstractions- AuthenticationProperties, AuthenticateResult, AuthenticationTicketMicrosoft.AspNetCore.Authentication.Core- AddAuthenticationCore, AuthenticationFeatureMicrosoft.AspNetCore.WebUtilities- WebUtilities namespace typesMicrosoft.Net.Http.Headers- EntityTagHeaderValue, RangeItemHeaderValue, ContentRangeHeaderValue, ResponseHeaders, RequestHeaders, CookieHeaderValueMicrosoft.AspNetCore.Mvc.Abstractions- Validation types, ApiExplorer types, ProblemDetails, Filter interfaces, PageModel typesAffected Projects (85+ total)
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.