Skip to content

Commit 0731836

Browse files
committed
Upgrades to .NET Core 3.1.
1 parent 090243e commit 0731836

File tree

4 files changed

+10
-17
lines changed

4 files changed

+10
-17
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ variables:
1010
buildConfiguration: 'Release'
1111

1212
steps:
13-
- task: DotNetCoreInstaller@1
14-
displayName: Install .NET Core 3.0 Preview
15-
inputs:
16-
includePreviewVersions: true
17-
packageType: sdk
18-
version: 3.0.100-preview7-012821
19-
2013
- task: DotNetCoreCLI@2
2114
displayName: Pack https
2215
inputs:
@@ -27,8 +20,8 @@ steps:
2720
packDirectory: $(build.ArtifactStagingDirectory)
2821
versioningScheme: byPrereleaseNumber
2922
majorVersion: 0
30-
minorVersion: 1
31-
patchVersion: 2
23+
minorVersion: 2
24+
patchVersion: 0
3225

3326
- task: DotNetCoreCLI@2
3427
displayName: Test https

src/https/https.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.2</TargetFramework>
5+
<TargetFramework>netcoreapp3.1</TargetFramework>
66
<LangVersion>preview</LangVersion>
77
</PropertyGroup>
88

99
<PropertyGroup>
10-
<VersionPrefix>0.1.2</VersionPrefix>
10+
<VersionPrefix>0.2.0</VersionPrefix>
1111
<VersionSuffix>local</VersionSuffix>
1212
</PropertyGroup>
1313

tests/https.Tests/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Https.Tests
66
{
77
public class Startup
88
{
9-
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
9+
public void Configure(IApplicationBuilder app)
1010
{
1111
app.UseMiddleware<RedirectMiddleware>();
1212
app.UseMiddleware<MirrorMiddleware>();

tests/https.Tests/https.Tests.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.0</TargetFramework>
4+
<TargetFramework>netcoreapp3.1</TargetFramework>
55
<IsPackable>false</IsPackable>
66
<RootNamespace>Https.Tests</RootNamespace>
77
<LangVersion>preview</LangVersion>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
12-
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="2.2.0" />
13-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
11+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
12+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="3.1.6" />
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
1414
<PackageReference Include="xunit" Version="2.4.1" />
15-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
15+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.2">
1616
<PrivateAssets>all</PrivateAssets>
1717
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1818
</PackageReference>

0 commit comments

Comments
 (0)