Skip to content

Commit ab87901

Browse files
committed
Force the .NET Core 2.1 SDK
1 parent 3acab0d commit ab87901

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/gitattributes.csproj

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

33
<PropertyGroup>
44
<VersionPrefix>1.2.0</VersionPrefix>
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.AspNetCore.App" />
11+
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.2" />
1212
<PackageReference Include="NWebsec.AspNetCore.Middleware" Version="2.0.0" />
1313
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.3.0" />
1414
</ItemGroup>

src/global.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"sdk": {
3+
"version": "2.1.300"
4+
}
5+
}

0 commit comments

Comments
 (0)