Skip to content

Commit f00313c

Browse files
committed
⬆ Upgrading to .NET 5!
1 parent c8d428d commit f00313c

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: csharp
22
solution: WhatIsHeDoing.DomainModels.sln
33
mono: none
4-
dotnet: 3.1.404
4+
dotnet: 5.0.100
55
install:
66
- dotnet restore
77
script:
88
- dotnet build --configuration Release
9-
- dotnet test WhatIsHeDoing.DomainModels.Tests/WhatIsHeDoing.DomainModels.Tests.csproj
9+
- dotnet test

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
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}/WhatIsHeDoing.DomainModels.Tests/bin/Debug/netcoreapp3.1/WhatIsHeDoing.DomainModels.Tests.dll",
13+
"program": "${workspaceFolder}/WhatIsHeDoing.DomainModels.Tests/bin/Debug/net5.0/WhatIsHeDoing.DomainModels.Tests.dll",
1414
"args": [],
1515
"cwd": "${workspaceFolder}/WhatIsHeDoing.DomainModels.Tests",
1616
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
@@ -24,4 +24,4 @@
2424
"processId": "${command:pickProcess}"
2525
}
2626
]
27-
}
27+
}

WhatIsHeDoing.DomainModels.APITest/WhatIsHeDoing.DomainModels.APITest.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
3+
<TargetFramework>net5.0</TargetFramework>
44
</PropertyGroup>
55

66
<PropertyGroup>
7-
<DocumentationFile>bin\netcoreapp3.1\WhatIsHeDoing.DomainModels.APITest.xml</DocumentationFile>
7+
<DocumentationFile>bin\net5.0\WhatIsHeDoing.DomainModels.APITest.xml</DocumentationFile>
88
<OutputPath>bin\</OutputPath>
99
<NoWarn>1591;1701;1702;1705;AD0001;SG0016</NoWarn>
10-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
10+
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
1111
<WarningsAsErrors />
1212
<CodeAnalysisRuleSet>..\WhatIsHeDoing.ruleset</CodeAnalysisRuleSet>
1313
</PropertyGroup>
@@ -18,10 +18,10 @@
1818

1919
<ItemGroup>
2020
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" />
21-
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.1.5" />
21+
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="5.0.2" />
2222
<PackageReference Include="RoslynSecurityGuard" Version="2.3.0" />
2323
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
24-
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.1.2" />
24+
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.2" />
2525
</ItemGroup>
2626

2727
<ItemGroup>

WhatIsHeDoing.DomainModels.Tests/WhatIsHeDoing.DomainModels.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
3+
<TargetFramework>net5.0</TargetFramework>
44
<IsPackable>false</IsPackable>
55
</PropertyGroup>
66

@@ -15,7 +15,7 @@
1515

1616
<ItemGroup>
1717
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" />
18-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
18+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
1919
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
2020
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
2121
<PackageReference Include="xunit" Version="2.4.1" />

WhatIsHeDoing.DomainModels/WhatIsHeDoing.DomainModels.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
3+
<TargetFrameworks>net5.0</TargetFrameworks>
44
<PackageId>WhatIsHeDoing.DomainModels </PackageId>
5-
<PackageVersion>4.1.0</PackageVersion>
5+
<PackageVersion>5.0.0</PackageVersion>
66
<Authors>WhatIsHeDoing</Authors>
77
<Description>A library of domain models for .NET.</Description>
88
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
9-
<PackageReleaseNotes>Upgrading several dependencies</PackageReleaseNotes>
9+
<PackageReleaseNotes>Upgrading to .NET 5!</PackageReleaseNotes>
1010
<Copyright></Copyright>
1111
<PackageTags>domain models</PackageTags>
1212
<PackageLicenseExpression>Unlicense</PackageLicenseExpression>
@@ -18,7 +18,7 @@
1818
</PropertyGroup>
1919

2020
<PropertyGroup>
21-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
21+
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
2222
<WarningsAsErrors />
2323
<CodeAnalysisRuleSet>..\WhatIsHeDoing.ruleset</CodeAnalysisRuleSet>
2424
</PropertyGroup>

0 commit comments

Comments
 (0)