/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Components/test/testassets/Components.TestServer/Components.TestServer.csproj
143 строки
8 KB
Ondřej Roztočil
Streamline localization in Microsoft.Extensions.Validation (#67987)
24 июл 2026, 19:05
Не верифицирован
24 июл 2026, 19:05
74de729
Код
Авторство
О чём код?
<Project Sdk="Microsoft.NET.Sdk.Web"> <Import Project="..\..\..\WebAssembly\WebAssembly\src\targets\Microsoft.AspNetCore.Components.WebAssembly.props" /> <PropertyGroup> <TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework> <!-- Project supports more than one language --> <BlazorWebAssemblyLoadAllGlobalizationData>true</BlazorWebAssemblyLoadAllGlobalizationData> <Nullable>annotations</Nullable> <RazorLangVersion>latest</RazorLangVersion> <BlazorRoutingEnableRegexConstraint>true</BlazorRoutingEnableRegexConstraint> <InterceptorsNamespaces>$(InterceptorsNamespaces);Microsoft.AspNetCore.Http.Validation.Generated;Microsoft.Extensions.Validation.Generated</InterceptorsNamespaces> </PropertyGroup> <ItemGroup> <ProjectReference Include="$(RepoRoot)/src/Validation/gen/Microsoft.Extensions.Validation.ValidationsGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" /> </ItemGroup> <ItemGroup> <Reference Include="Microsoft.AspNetCore.Http.Extensions" /> <Reference Include="Microsoft.AspNetCore.Authentication.Core" /> <Reference Include="Microsoft.AspNetCore.Mvc.DataAnnotations" /> <Reference Include="Microsoft.AspNetCore.Mvc.Cors" /> <Reference Include="Microsoft.AspNetCore.Mvc.ApiExplorer" /> <Reference Include="Microsoft.AspNetCore.Mvc.TagHelpers" /> <Reference Include="Microsoft.AspNetCore.HttpOverrides" /> <Reference Include="Microsoft.AspNetCore.HostFiltering" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Quic" /> <Reference Include="Microsoft.AspNetCore.Server.IISIntegration" /> <Reference Include="Microsoft.AspNetCore.Server.IIS" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel" /> <Reference Include="Microsoft.AspNetCore.Server.Kestrel.Core" /> <Reference Include="Microsoft.AspNetCore" /> <Reference Include="Microsoft.AspNetCore.Antiforgery" /> <Reference Include="Microsoft.AspNetCore.Authentication" /> <Reference Include="Microsoft.AspNetCore.Authentication.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Authentication.Cookies" /> <Reference Include="Microsoft.AspNetCore.Authorization.Policy" /> <Reference Include="Microsoft.AspNetCore.Components.Endpoints" /> <Reference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" /> <Reference Include="Microsoft.AspNetCore.Components.Server" /> <Reference Include="Microsoft.AspNetCore.Components.Server.AutoPause" /> <Reference Include="Microsoft.AspNetCore.Diagnostics" /> <Reference Include="Microsoft.AspNetCore.Diagnostics.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Diagnostics.HealthChecks" /> <Reference Include="Microsoft.AspNetCore.HttpsPolicy" /> <Reference Include="Microsoft.Extensions.Diagnostics.HealthChecks" /> <Reference Include="Microsoft.AspNetCore.Hosting" /> <Reference Include="Microsoft.AspNetCore.Hosting.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Hosting.Server.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Html.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Http" /> <Reference Include="Microsoft.AspNetCore.Http.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Http.Connections" /> <Reference Include="Microsoft.AspNetCore.Http.Features" /> <Reference Include="Microsoft.AspNetCore.Http.Results" /> <Reference Include="Microsoft.AspNetCore.Cors" /> <Reference Include="Microsoft.AspNetCore.Localization" /> <Reference Include="Microsoft.AspNetCore.Mvc" /> <Reference Include="Microsoft.AspNetCore.Mvc.Razor" /> <Reference Include="Microsoft.AspNetCore.Mvc.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Mvc.Core" /> <Reference Include="Microsoft.AspNetCore.Components.Server" /> <Reference Include="Microsoft.AspNetCore.Cors" /> <Reference Include="Microsoft.AspNetCore.Mvc" /> <Reference Include="Microsoft.AspNetCore.Mvc.Razor" /> <Reference Include="Microsoft.AspNetCore.Mvc.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Mvc.Core" /> <Reference Include="Microsoft.AspNetCore.Mvc.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Mvc.Core" /> <Reference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" /> <Reference Include="Microsoft.AspNetCore.Mvc.Razor" /> <Reference Include="Microsoft.AspNetCore.Mvc.RazorPages" /> <Reference Include="Microsoft.AspNetCore.Mvc.ViewFeatures" /> <Reference Include="Microsoft.AspNetCore.SignalR" /> <Reference Include="Microsoft.AspNetCore.SignalR.Core" /> <Reference Include="Microsoft.AspNetCore.InternalTesting" /> <Reference Include="Microsoft.AspNetCore.Razor" /> <Reference Include="Microsoft.AspNetCore.Razor.Runtime" /> <Reference Include="Microsoft.AspNetCore.Routing" /> <Reference Include="Microsoft.AspNetCore.Routing.Abstractions" /> <Reference Include="Microsoft.AspNetCore.Session" /> <Reference Include="Microsoft.AspNetCore.StaticAssets" /> <Reference Include="Microsoft.AspNetCore.StaticFiles" /> <Reference Include="Microsoft.AspNetCore.WebSockets" /> <Reference Include="Microsoft.Extensions.Hosting" /> <Reference Include="Microsoft.Extensions.Caching.Hybrid" /> <Reference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" /> <Reference Include="Microsoft.AspNetCore.Session" /> <Reference Include="Microsoft.AspNetCore.Components.QuickGrid" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\BasicTestApp\BasicTestApp.csproj" /> <ProjectReference Include="..\Components.WasmMinimal\Components.WasmMinimal.csproj" /> <ProjectReference Include="..\Components.WasmRemoteAuthentication\Components.WasmRemoteAuthentication.csproj" /> </ItemGroup> <ItemGroup> <Compile Include="..\..\..\Gateway\src\BlazorGateway.cs" /> <Compile Include="..\..\..\Gateway\src\BlazorGatewayOptions.cs" /> <Compile Include="..\..\..\Gateway\src\TelemetryFilters.cs" /> </ItemGroup> <ItemGroup> <Reference Include="Yarp.ReverseProxy" /> <Reference Include="Microsoft.Extensions.ServiceDiscovery" /> <Reference Include="Microsoft.Extensions.ServiceDiscovery.Yarp" /> <Reference Include="Microsoft.Extensions.Http.Resilience" /> <Reference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" /> <Reference Include="OpenTelemetry.Extensions.Hosting" /> <Reference Include="OpenTelemetry.Instrumentation.AspNetCore" /> <Reference Include="OpenTelemetry.Instrumentation.Http" /> <Reference Include="OpenTelemetry.Instrumentation.Runtime" /> </ItemGroup> <!-- YARP NuGet packages transitively add a FrameworkReference to Microsoft.AspNetCore.App via AddTransitiveFrameworkReferences (after ResolvePackageAssets). TestServer gets the framework via project references, so remove it before targeting pack resolution. --> <Target Name="_RemoveTransitiveAspNetCoreFrameworkReference" AfterTargets="AddTransitiveFrameworkReferences" BeforeTargets="ResolveTargetingPackAssets"> <ItemGroup> <FrameworkReference Remove="Microsoft.AspNetCore.App" /> </ItemGroup> </Target> <ItemGroup> <AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute"> <_Parameter1>Microsoft.AspNetCore.InternalTesting.BasicTestApp.ContentRoot</_Parameter1> <_Parameter2 Condition="'$(IsHelixJob)' != 'true'">$([MSBuild]::NormalizeDirectory('$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\BasicTestApp'))'))</_Parameter2> <_Parameter2 Condition="'$(IsHelixJob)' == 'true'">..\BasicTestApp</_Parameter2> </AssemblyAttribute> </ItemGroup> <PropertyGroup> <!-- Tests need hot reload support enabled even in Release to test HotReloadManager behavior --> <MetadataUpdaterSupport>true</MetadataUpdaterSupport> </PropertyGroup> </Project>