-
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 <wigodbe@microsoft.com>
* 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 <6995051+javiercn@users.noreply.github.com> --------- Co-authored-by: Javier Calvarro Nelson <jacalvar@microsoft.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: javiercn <6995051+javiercn@users.noreply.github.com>
…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 <14283640+wtgodbe@users.noreply.github.com>
Added references to Microsoft.AspNetCore.Authentication.csproj and Microsoft.AspNetCore.Server.IISIntegration.csproj Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
…ects Added references to multiple middleware projects (CookiePolicy, RequestDecompression, HeaderPropagation, HttpsPolicy, WebSockets, ResponseCaching, ResponseCompression), MVC.Core, and SignalR Http.Connections. Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
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 <14283640+wtgodbe@users.noreply.github.com>
Added missing assembly references to all 20 projects to fix CS1061, CS0012, CS0234 and CS0246 errors. Commit: b2f8cbb (10 projects from previous batch) Commit (new): Added Http, Hosting.Abstractions, and Http.Abstractions references to 10 additional projects including DefaultBuilder test assets, Analyzers tests, Routing tests, and Identity samples. |
|
@copilot add Reference items to the following projects in order to fix their CS1061, CS0012, CS0234 and CS0246 errors: src\Identity\samples\IdentitySample.PasskeyConformance\IdentitySample.PasskeyConformance.csproj |
Added missing Http, Hosting.Abstractions references to fix CS1061, CS0012, CS0234 and CS0246 errors: - IdentitySample.PasskeyConformance: Added Hosting.Abstractions, Http, Http.Abstractions - IdentitySample.PasskeyUI: Added Hosting.Abstractions, Http, Http.Abstractions - CorsMiddlewareWebSite: Added Http, Http.Abstractions - Microsoft.AspNetCore.Diagnostics.Tests: Added Hosting.Abstractions, Http, Http.Abstractions - AutobahnTestApp: Added Http, Http.Abstractions - Microsoft.AspNetCore.Mvc.Test: Added Hosting.Abstractions, Http, Http.Abstractions - MvcFormSample: Added Hosting.Abstractions - MvcSandbox: Added Hosting.Abstractions, Http, Http.Abstractions - Mvc.Core.TestCommon: Added Http - ApiExplorerWebSite: Added Hosting.Abstractions, Http, Http.Abstractions - ApplicationModelWebSite: Added Hosting.Abstractions, Http, Http.Abstractions Note: Other projects in the list (Identity.DefaultUI.WebSite, various Diagnostics samples, OutputCachingSample, ResponseCachingSample, ResponseCompressionSample, RewriteSample, Rewrite.Tests, StaticFiles.FunctionalTests, ResponseCaching.Microbenchmarks, Mvc.Api.Analyzers.Test) already had comprehensive references and did not require additional changes. Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Added missing assembly references to 11 projects from the list. Most other projects listed (Identity.DefaultUI.WebSite, various Diagnostics samples, OutputCachingSample, ResponseCachingSample, ResponseCompressionSample, RewriteSample, Rewrite.Tests, StaticFiles.FunctionalTests, ResponseCaching.Microbenchmarks, Mvc.Api.Analyzers.Test) already had comprehensive Http, Hosting.Abstractions, and Http.Features references and did not require additional changes. Commit: 7916ebd |
|
@copilot add Reference items to the following projects in order to fix their CS1061, CS0012, CS0234 and CS0246 errors: src\Mvc\test\WebSites\HtmlGenerationWebSite\HtmlGenerationWebSite.csproj |
…samples Added missing Http, Hosting.Abstractions references to fix CS1061, CS0012, CS0234 and CS0246 errors: - HtmlGenerationWebSite: Added Hosting.Abstractions, Http, Http.Abstractions - SimpleWebSite: Added Hosting.Abstractions, Http, Http.Abstractions - RazorBuildWebSite.Views, RazorPagesClassLibrary: Added Http - RazorWebSite: Added Hosting.Abstractions, Http, Http.Abstractions - Mvc.RoutingWebSite: Added Hosting.Abstractions - SecurityWebSite: Added Hosting.Abstractions, Http, Http.Abstractions - SimpleWebSiteWithWebApplicationBuilder: Added Hosting.Abstractions, Http, Http.Abstractions - VersioningWebSite: Added Hosting.Abstractions, Http, Http.Abstractions - XmlFormattersWebSite: Added Hosting.Abstractions, Http, Http.Abstractions - OpenApi.SourceGenerators.Tests: Added Http, Http.Abstractions - Negotiate.Client: Added Hosting.Abstractions, Http, Http.Abstractions - Negotiate.Server: Added Hosting.Abstractions, Http, Http.Abstractions Note: Other projects in the list (Certificate samples, CookieSample, JwtBearerSample, NegotiateAuthSample, MinimalOpenIdConnectSample, Negotiate.FunctionalTest, Negotiate.Test) already had comprehensive references and did not require additional changes. Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Added missing assembly references to 14 projects from the list. Most other projects listed (Certificate samples, CookieSample, JwtBearerSample, NegotiateAuthSample, MinimalOpenIdConnectSample, Negotiate functional and unit tests) already had comprehensive Http, Hosting.Abstractions, and Http.Features references and did not require additional changes. Commit: [commit hash will be shown after push]
Added missing assembly references to 14 projects from the list. Most other projects listed (Certificate samples, CookieSample, JwtBearerSample, NegotiateAuthSample, MinimalOpenIdConnectSample, Negotiate functional and unit tests) already had comprehensive Http, Hosting.Abstractions, and Http.Features references and did not require additional changes. Commit: 4bcfb3c |
|
@copilot add Reference items to the following projects in order to fix their CS1061, CS0012, CS0234 and CS0246 errors: src\Security\samples\ClaimsTransformation\ClaimsTransformation.csproj |
Added missing Http, Hosting.Abstractions references to fix CS1061, CS0012, CS0234 and CS0246 errors: - Security samples: ClaimsTransformation, Cookies, CustomAuthorizationFailureResponse, CustomPolicyProvider, DynamicSchemes, Identity.ExternalClaims, PathSchemeSelection, StaticFilesAuth (added Hosting.Abstractions, Http, Http.Abstractions) - Kestrel samples: Http3SampleApp, LargeResponseApp, PlaintextApp, WebTransportInteractiveSampleApp, WebTransportSampleApp, http2cat (added Http) - IIS tests: IIS.FunctionalTests, IIS.LongTests, IIS.NewHandler.FunctionalTests, IISExpress.FunctionalTests (added Hosting.Abstractions, Http, Http.Abstractions) Note: HttpSys.NonHelixTests, IISSample, NativeIISSample, ServerComparison.TestSites, Kestrel.Microbenchmarks, and SignalR.Client.FunctionalTestApp already had comprehensive references and did not require additional changes. Co-authored-by: wtgodbe <14283640+wtgodbe@users.noreply.github.com>
Added missing assembly references to 20 projects from the list. Most other projects listed (HttpSys.NonHelixTests, IISSample, NativeIISSample, ServerComparison.TestSites, Kestrel.Microbenchmarks, and SignalR.Client.FunctionalTestApp) already had comprehensive Http, Hosting.Abstractions, and Http.Features references and did not require additional changes. Commit: [will be shown after push]
Added missing assembly references to 20 projects from the list. Most other projects listed (HttpSys.NonHelixTests, IISSample, NativeIISSample, ServerComparison.TestSites, Kestrel.Microbenchmarks, and SignalR.Client.FunctionalTestApp) already had comprehensive Http, Hosting.Abstractions, and Http.Features references and did not require additional changes. Commit: b4eb95c |
Summary
Fixed build errors after dependency update from 10.0.x to 11.0.0-alpha by adding explicit Reference elements to 135+ unique projects across 24 rounds of fixes. Added missing assembly references to test projects, sample applications, and test assets.
Latest Progress (Round 24):
Updated 20 projects with missing references across Security samples and Server test projects:
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 types✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.