Skip to content

Commit 4dc58c5

Browse files
committed
Update other references to net7
1 parent 9916790 commit 4dc58c5

File tree

34 files changed

+39
-52
lines changed

34 files changed

+39
-52
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"remoteEnv": {
3838
"PATH": "${containerWorkspaceFolder}/.dotnet:${containerEnv:PATH}",
3939
"DOTNET_MULTILEVEL_LOOKUP": "0",
40-
"TARGET": "net7.0",
40+
"TARGET": "net8.0",
4141
"DOTNET_WATCH_SUPPRESS_LAUNCH_BROWSER": "true"
4242
},
4343
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.

docs/Helix.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ There's also a link embedded in the build.cmd log of the Tests: Helix x64 job on
7070
Stopping Azure Pipelines Test Run Ubuntu.1804.Amd64.Open
7171
Stopping Azure Pipelines Test Run Windows.11.Amd64.ClientPre.Open
7272
Stopping Azure Pipelines Test Run OSX.1014.Amd64.Open
73-
D:\a\_work\1\s\.packages\microsoft.dotnet.helix.sdk\7.0.0-beta.21559.3\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(78,5): error : Work item Microsoft.AspNetCore.Identity.Test--net7.0 in job 53e2ca23-9efd-4299-8a8f-d9271265aeaa has failed. [D:\a\_work\1\s\eng\helix\helix.proj]
74-
D:\a\_work\1\s\.packages\microsoft.dotnet.helix.sdk\7.0.0-beta.21559.3\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(78,5): error : Failure log: https://helix.dot.net/api/2019-06-17/jobs/53e2ca23-9efd-4299-8a8f-d9271265aeaa/workitems/Microsoft.AspNetCore.Identity.Test--net7.0/console [D:\a\_work\1\s\eng\helix\helix.proj]
75-
##[error].packages\microsoft.dotnet.helix.sdk\7.0.0-beta.21559.3\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(78,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item Microsoft.AspNetCore.Identity.Test--net7.0 in job 53e2ca23-9efd-4299-8a8f-d9271265aeaa has failed.
76-
Failure log: https://helix.dot.net/api/2019-06-17/jobs/53e2ca23-9efd-4299-8a8f-d9271265aeaa/workitems/Microsoft.AspNetCore.Identity.Test--net7.0/console
73+
D:\a\_work\1\s\.packages\microsoft.dotnet.helix.sdk\7.0.0-beta.21559.3\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(78,5): error : Work item Microsoft.AspNetCore.Identity.Test--net8.0 in job 53e2ca23-9efd-4299-8a8f-d9271265aeaa has failed. [D:\a\_work\1\s\eng\helix\helix.proj]
74+
D:\a\_work\1\s\.packages\microsoft.dotnet.helix.sdk\7.0.0-beta.21559.3\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(78,5): error : Failure log: https://helix.dot.net/api/2019-06-17/jobs/53e2ca23-9efd-4299-8a8f-d9271265aeaa/workitems/Microsoft.AspNetCore.Identity.Test--net8.0/console [D:\a\_work\1\s\eng\helix\helix.proj]
75+
##[error].packages\microsoft.dotnet.helix.sdk\7.0.0-beta.21559.3\tools\Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(78,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item Microsoft.AspNetCore.Identity.Test--net8.0 in job 53e2ca23-9efd-4299-8a8f-d9271265aeaa has failed.
76+
Failure log: https://helix.dot.net/api/2019-06-17/jobs/53e2ca23-9efd-4299-8a8f-d9271265aeaa/workitems/Microsoft.AspNetCore.Identity.Test--net8.0/console
7777
```
7878

7979
The https://helix.dot.net/ home page displays information about the available public queues (nothing about the related BYOC pools and queues or the internal Helix queues)

docs/UpdatingMajorVersionAndTFM.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Typically, we will update the Major Version before updating the TFM. This is bec
1616
3. Change `PreReleaseVersionLabel` to `alpha`.
1717
4. Change `PreReleaseBrandingLabel` to `Alpha $(PreReleaseVersionIteration)`.
1818
* In [src/Framework/test/TestData.cs](/src/Framework/test/TestData.cs), update `ListedTargetingPackAssemblies` by incrementing the AssemblyVersion of all aspnetcore assemblies by 1 major version. Once dotnet/runtime updates their AssemblyVersions, we also need to update those in this file. They typically make that change at the same time as their TFM update, but we change our AssemblyVersions as soon as we update branding.
19-
* Add entries to [NuGet.config](/NuGet.config) for the new Major Version's feed. This just means copying the current feeds (e.g. `dotnet7` and `dotnet7-transport`) and adding entries for the new feeds (`dotnet8` and `dotnet8-transport`). Make an effort to remove old feeds here at the same time.
19+
* Add entries to [NuGet.config](/NuGet.config) for the new Major Version's feed. This just means copying the current feeds (e.g. `dotnet8` and `dotnet8-transport`) and adding entries for the new feeds (`dotnet9` and `dotnet9-transport`). Make an effort to remove old feeds here at the same time.
2020
* In [src/ProjectTemplates/Shared/TemplatePackageInstaller.cs](/src/ProjectTemplates/Shared/TemplatePackageInstaller.cs), add entries to `_templatePackages ` for `Microsoft.DotNet.Web.ProjectTemplates` and `Microsoft.DotNet.Web.Spa.ProjectTemplates` matching the new version.
2121
* In [eng/targets/CSharp.Common.props](/eng/targets/CSharp.Common.props) for the previous release branch, modify the `<LangVersion>` to be a hardcoded version instead of `preview`. (e.g. If main is being updated to 8.0.0 modify the `<LangVersion>` in the release/7.0 branch). See https://docs.microsoft.com/dotnet/csharp/language-reference/configure-language-version#defaults to find what language version to use.
2222

@@ -28,12 +28,12 @@ Typically, we will update the Major Version before updating the TFM. This is bec
2828

2929
## Updating TFM
3030

31-
Once dotnet/runtime has updated their TFM, we update ours in the dependency update PR ingesting that change. We won't be able to ingest new dotnet/runtime dependencies in `main` until this is done. For an example, [this](https://github.com/dotnet/aspnetcore/pull/36328) is the PR where we updated our TFM to `net7.0`. This step can be tricky - we have workarounds in [eng/tools/GenerateFiles/Directory.Build.targets.in](/eng/tools/GenerateFiles/Directory.Build.targets.in) to make the build work before we get an SDK containing runtime references with the new TFM. We copy the `KnownFrameworkReference`, `KnownRuntimePack`, and `KnownAppHostPack` from the previous TFM, give them the incoming runtime dependency versions, and give them the new TFM (these TFMs no-op most of the time - they only apply during this period when we're using an SDK that doesn't know about the new TFM). These workarounds allow us to build against the new TFM before we get an SDK with a reference to it, but there are often problems that arise in this area. The best way to debug build errors related to FrameworkReferences it to get a binlog of a failing project (`dotnet build /bl`) and look at the inputs to the task that failed. Confirm that the `Known___` items look as expected (there is an entry with the current TFM & the current dotnet/runtime dependency version), and look at the source code of the task in [dotnet/sdk](https://github.com/dotnet/sdk) for hints.
31+
Once dotnet/runtime has updated their TFM, we update ours in the dependency update PR ingesting that change. We won't be able to ingest new dotnet/runtime dependencies in `main` until this is done. For an example, [this](https://github.com/dotnet/aspnetcore/pull/36328) is the PR where we updated our TFM to `net8.0`. This step can be tricky - we have workarounds in [eng/tools/GenerateFiles/Directory.Build.targets.in](/eng/tools/GenerateFiles/Directory.Build.targets.in) to make the build work before we get an SDK containing runtime references with the new TFM. We copy the `KnownFrameworkReference`, `KnownRuntimePack`, and `KnownAppHostPack` from the previous TFM, give them the incoming runtime dependency versions, and give them the new TFM (these TFMs no-op most of the time - they only apply during this period when we're using an SDK that doesn't know about the new TFM). These workarounds allow us to build against the new TFM before we get an SDK with a reference to it, but there are often problems that arise in this area. The best way to debug build errors related to FrameworkReferences it to get a binlog of a failing project (`dotnet build /bl`) and look at the inputs to the task that failed. Confirm that the `Known___` items look as expected (there is an entry with the current TFM & the current dotnet/runtime dependency version), and look at the source code of the task in [dotnet/sdk](https://github.com/dotnet/sdk) for hints.
3232

3333
### Required changes
3434

3535
* In [eng/Versions.props](/eng/Versions.props), increment `DefaultNetCoreTargetFramework` by 1.
36-
* Do a global repo search for the current version string, and update almost everything by 1 (e.g. find `net7`, replace with `net8`). See the PR linked above for examples - this shouldn't be done blindly, but on a case-by-case basis. Most things should be updated, and most choices should be obvious.
36+
* Do a global repo search for the current version string, and update almost everything by 1 (e.g. find `net8`, replace with `net9`). See the PR linked above for examples - this shouldn't be done blindly, but on a case-by-case basis. Most things should be updated, and most choices should be obvious.
3737
* Exceptions to this are [eng/tools/RepoTasks/RepoTasks.csproj](/eng/tools/RepoTasks/RepoTasks.csproj), [eng/tools/RepoTasks/RepoTasks.tasks](/eng/tools/RepoTasks/RepoTasks.tasks), and [eng/tools/HelixTestRunner/HelixTestRunner.csproj](/eng/tools/HelixTestRunner/HelixTestRunner.csproj). These build without the workarounds from [eng/tools/GenerateFiles/Directory.Build.targets.in](/eng/tools/GenerateFiles/Directory.Build.targets.in), and need to be kept at the previous TFM until we get an SDK containing a runtime with the new TFM. Generally this means we have to hard-code the previous TFM for these files, rather than using `DefaultNetCoreTargetFramework`.
3838
* Add a reference to the new `SiteExtensions` package for the previous Major Version.
3939
1. Add references to [src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj](/src/SiteExtensions/LoggingAggregate/src/Microsoft.AspNetCore.AzureAppServices.SiteExtension/Microsoft.AspNetCore.AzureAppServices.SiteExtension.csproj) to `Microsoft.AspNetCore.AzureAppServices.SiteExtension.{PreviousMajorVersion}.0.x64` and `Microsoft.AspNetCore.AzureAppServices.SiteExtension.{PreviousMajorVersion}.0.x86`.

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
src\Components\WebAssembly\Sdk\testassets\Directory.Build.props, and
4242
src\Razor\test\testassets\Directory.Build.props when this changes.
4343
-->
44-
<DefaultNetCoreTargetFramework>net7.0</DefaultNetCoreTargetFramework>
44+
<DefaultNetCoreTargetFramework>net8.0</DefaultNetCoreTargetFramework>
4545
</PropertyGroup>
4646
<PropertyGroup Label="Arcade settings">
4747
<!-- Opt-in to Arcade tools for building VSIX projects. -->

eng/tools/GenerateFiles/Directory.Build.targets.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<ItemGroup>
3030
<!--
3131
Reference base shared framework at incoming dependency flow version, not bundled sdk version.
32-
Apply this to all projects that target the default tfm (e.g. net7.0) or a rid-based variant of it (e.g. net7.0-windows)
32+
Apply this to all projects that target the default tfm (e.g. net8.0) or a rid-based variant of it (e.g. net8.0-windows)
3333
-->
3434
<FrameworkReference
3535
Update="Microsoft.NETCore.App"

src/Components/Components/src/Microsoft.AspNetCore.Components.netcoreapp.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
$CommonMetadataElements$
55
<dependencies>
6-
<group targetFramework=".net7.0">
6+
<group targetFramework=".net8.0">
77
<dependency id="Microsoft.AspNetCore.Components.Analyzers" version="$componentAnalyzerVersion$" />
88
<dependency id="Microsoft.AspNetCore.Authorization" version="$authorizationVersion$" exclude="Build,Analyzers" />
99
</group>

src/Components/WebAssembly/DevServer/src/blazor-devserver.runtimeconfig.json.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"runtimeOptions": {
3-
"tfm": "net7.0",
3+
"tfm": "net8.0",
44
"framework": {
55
"name": "Microsoft.AspNetCore.App",
66
"version": "${SharedFxVersion}"

src/Components/benchmarkapps/Wasm.Performance/local.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM selenium/standalone-chrome:latest as final
33
ENV StressRunDuration=0
44

55
WORKDIR /app
6-
COPY ./Driver/bin/Release/net7.0/linux-x64/publish ./
6+
COPY ./Driver/bin/Release/net8.0/linux-x64/publish ./
77
COPY ./exec.sh ./
88

99
ENTRYPOINT [ "bash", "./exec.sh" ]

src/DefaultBuilder/test/Microsoft.AspNetCore.FunctionalTests/WebHostFunctionalTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public async Task RunsInIISExpressInProcess()
153153
var applicationName = "CreateDefaultBuilderApp";
154154
var deploymentParameters = new DeploymentParameters(Path.Combine(GetTestSitesPath(), applicationName), ServerType.IISExpress, RuntimeFlavor.CoreClr, RuntimeArchitecture.x64)
155155
{
156-
TargetFramework = "net7.0",
156+
TargetFramework = "net8.0",
157157
HostingModel = HostingModel.InProcess
158158
};
159159

@@ -208,7 +208,7 @@ private async Task ExecuteTestApp(string applicationName,
208208
{
209209
var deploymentParameters = new DeploymentParameters(Path.Combine(GetTestSitesPath(), applicationName), ServerType.Kestrel, RuntimeFlavor.CoreClr, RuntimeArchitectures.Current)
210210
{
211-
TargetFramework = "net7.0",
211+
TargetFramework = "net8.0",
212212
};
213213

214214
if (setTestEnvVars)

src/FileProviders/Embedded/src/Microsoft.Extensions.FileProviders.Embedded.multitarget.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
$CommonMetadataElements$
55
<dependencies>
6-
<group targetFramework=".net7.0">
6+
<group targetFramework=".net8.0">
77
<dependency id="Microsoft.Extensions.FileProviders.Abstractions" version="$AbstractionsVersion$" exclude="Build,Analyzers" />
88
</group>
99
<group targetFramework=".NETStandard2.0">

src/FileProviders/Embedded/src/Microsoft.Extensions.FileProviders.Embedded.netcoreapp.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
$CommonMetadataElements$
55
<dependencies>
6-
<group targetFramework=".net7.0">
6+
<group targetFramework=".net8.0">
77
<dependency id="Microsoft.Extensions.FileProviders.Abstractions" version="$AbstractionsVersion$" exclude="Build,Analyzers" />
88
</group>
99
</dependencies>

src/Framework/AspNetCoreAnalyzers/test/Verifiers/CSharpAnalyzerVerifier.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static async Task VerifyAnalyzerAsync(string source, params DiagnosticRes
4444

4545
internal static ReferenceAssemblies GetReferenceAssemblies()
4646
{
47-
return ReferenceAssemblies.Net.Net70.AddAssemblies(ImmutableArray.Create(
47+
return ReferenceAssemblies.Net.Net80.AddAssemblies(ImmutableArray.Create(
4848
TrimAssemblyExtension(typeof(System.IO.Pipelines.PipeReader).Assembly.Location),
4949
TrimAssemblyExtension(typeof(Microsoft.AspNetCore.Mvc.ModelBinding.IBinderTypeProviderMetadata).Assembly.Location),
5050
TrimAssemblyExtension(typeof(Microsoft.AspNetCore.Mvc.BindAttribute).Assembly.Location),

src/Hosting/Server.IntegrationTesting/src/Common/Tfm.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ public static class Tfm
1414
public const string Net50 = "net5.0";
1515
public const string Net60 = "net6.0";
1616
public const string Net70 = "net7.0";
17-
public const string Default = Net70;
17+
public const string Net80 = "net8.0";
18+
public const string Default = Net80;
1819

1920
public static bool Matches(string tfm1, string tfm2)
2021
{

src/Http/samples/MinimalSampleFSharp/MinimalSampleFSharp.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

src/Middleware/OutputCaching/samples/OutputCachingSample/.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"request": "launch",
1111
"preLaunchTask": "build",
1212
// If you have changed target frameworks, make sure to update the program path.
13-
"program": "${workspaceFolder}/bin/Debug/net7.0/OutputCachingSample.dll",
13+
"program": "${workspaceFolder}/bin/Debug/net8.0/OutputCachingSample.dll",
1414
"args": [],
1515
"cwd": "${workspaceFolder}",
1616
"stopAtEntry": false,

src/Middleware/WebSockets/test/ConformanceTests/Autobahn/AutobahnTester.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public async Task DeployTestAndAddToSpec(ServerType server, bool ssl, string env
135135
{
136136
Scheme = (ssl ? Uri.UriSchemeHttps : Uri.UriSchemeHttp),
137137
ApplicationType = ApplicationType.Portable,
138-
TargetFramework = "Net7.0",
138+
TargetFramework = "Net8.0",
139139
EnvironmentName = environment,
140140
SiteName = "HttpTestSite", // This is configured in the Http.config
141141
ServerConfigTemplateContent = (server == ServerType.IISExpress) ? File.ReadAllText(configPath) : null,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<Project>
2-
<Import Project="..\..\build\net7.0\Microsoft.AspNetCore.Mvc.Testing.targets" />
2+
<Import Project="..\..\build\net8.0\Microsoft.AspNetCore.Mvc.Testing.targets" />
33
</Project>

src/ProjectTemplates/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ When queuing test jobs to the Helix infrastructure, a timeout value is passed th
108108
This value is printed by the Helix runner at the beginning of the console log, formatted in seconds, e.g.:
109109

110110
```log
111-
Console log: 'ProjectTemplates.Tests--net7.0' from job b2f6fbe0-4dbe-45fa-a123-9a8c876d5923 (ubuntu.1804.armarch.open) using docker image mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-helix-arm64v8-20211001171229-97d8652 on ddvsotx2l137
111+
Console log: 'ProjectTemplates.Tests--net8.0' from job b2f6fbe0-4dbe-45fa-a123-9a8c876d5923 (ubuntu.1804.armarch.open) using docker image mcr.microsoft.com/dotnet-buildtools/prereqs:debian-11-helix-arm64v8-20211001171229-97d8652 on ddvsotx2l137
112112
running $HELIX_CORRELATION_PAYLOAD/scripts/71557bd7f20e49fbbaa81cc79bd57fd6/execute.sh in /home/helixbot/work/C08609D9/w/B3D709E1/e max 2700 seconds
113113
```
114114

src/ProjectTemplates/scripts/Test-Template.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ function Test-Template($templateName, $templateArgs, $templateNupkg, $isBlazorWa
4747
foreach ($projPath in $proj) {
4848
$projContent = Get-Content -Path $projPath -Raw
4949
if ($isBlazorWasmHosted) {
50-
$importPath = "$PSScriptRoot/../test/Templates.Tests/bin/Debug/net7.0/TestTemplates"
50+
$importPath = "$PSScriptRoot/../test/Templates.Tests/bin/Debug/net8.0/TestTemplates"
5151
}
5252
else {
53-
$importPath = "$PSScriptRoot/../test/Templates.Tests/bin/Debug/net7.0/TestTemplates"
53+
$importPath = "$PSScriptRoot/../test/Templates.Tests/bin/Debug/net8.0/TestTemplates"
5454
}
5555
$projContent = $projContent -replace ('(?:<Project Sdk="Microsoft.NET.(?<SdkSuffix>Sdk\.\w+)">)', ('<Project Sdk="Microsoft.NET.${SdkSuffix}">
5656
<Import Project="' + $importPath + '/Directory.Build.props" />
@@ -68,7 +68,7 @@ function Test-Template($templateName, $templateArgs, $templateNupkg, $isBlazorWa
6868
dotnet.exe ef migrations add Initial
6969
}
7070
dotnet.exe publish --configuration Release
71-
Set-Location .\bin\Release\net7.0\publish
71+
Set-Location .\bin\Release\net8.0\publish
7272
if ($isBlazorWasm -eq $false) {
7373
Invoke-Expression "./$templateName.exe"
7474
}

src/Servers/HttpSys/test/FunctionalTests/Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
55
<TestGroupName>HttpSys.FunctionalTests</TestGroupName>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
7-
<!-- Required for System.Net.Quic which has a preview API in .NET 7 -->
8-
<EnablePreviewFeatures>true</EnablePreviewFeatures>
9-
<!-- Required because 8.0.0 SDK no longer considers net7.0 the current TFM. -->
10-
<GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>
117
</PropertyGroup>
128

139
<ItemGroup>

src/Servers/IIS/IIS/test/IIS.FunctionalTests/IIS.FunctionalTests.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
<DisableFastUpToDateCheck>True</DisableFastUpToDateCheck>
88
<SkipTests Condition=" '$(SkipIISTests)' == 'true' ">true</SkipTests>
99
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
10-
<!-- Required for System.Net.Quic which has a preview API in .NET 7 -->
11-
<EnablePreviewFeatures>true</EnablePreviewFeatures>
12-
<!-- Required because 8.0.0 SDK no longer considers net7.0 the current TFM. -->
13-
<GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>
1410
</PropertyGroup>
1511

1612
<Import Project="../FunctionalTest.props" />

src/Servers/Kestrel/Transport.Quic/test/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
55
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
66
<ServerGarbageCollection>true</ServerGarbageCollection>
7-
<!-- Required for System.Net.Quic which has a preview API in .NET 7 -->
8-
<EnablePreviewFeatures>true</EnablePreviewFeatures>
9-
<!-- Required because 8.0.0 SDK no longer considers net7.0 the current TFM. -->
10-
<GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>
117
</PropertyGroup>
128

139
<ItemGroup>

src/Servers/Kestrel/samples/WebTransportInteractiveSampleApp/WebTransportInteractiveSampleApp.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
<AspNetCoreHostingModel>OutOfProcess</AspNetCoreHostingModel>
66
<!-- Turn on preview features so we can use Http3 -->
77
<EnablePreviewFeatures>True</EnablePreviewFeatures>
8-
<!-- Required because 8.0.0 SDK no longer considers net7.0 the current TFM. -->
9-
<GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>
108
</PropertyGroup>
119

1210
<ItemGroup>

src/Servers/Kestrel/samples/WebTransportSampleApp/WebTransportSampleApp.csproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
55
<!-- Turn on preview features so we can use Http3 -->
66
<EnablePreviewFeatures>True</EnablePreviewFeatures>
7-
<!-- Required because 8.0.0 SDK no longer considers net7.0 the current TFM. -->
8-
<GenerateRequiresPreviewFeaturesAttribute>true</GenerateRequiresPreviewFeaturesAttribute>
97
</PropertyGroup>
108

119
<ItemGroup>

0 commit comments

Comments
 (0)