Skip to content

Commit 02ad935

Browse files
committed
run on .Net 7
1 parent 5d148e6 commit 02ad935

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ exec { & dotnet clean -c Release }
3030

3131
exec { & dotnet build -c Release }
3232

33-
exec { & dotnet test -c Release -r $artifacts --no-build -l trx --verbosity=normal }
33+
exec { & dotnet test -c Release --results-directory $artifacts --no-build -l trx --verbosity=normal }
3434

3535
exec { & dotnet pack .\src\AutoMapper\AutoMapper.csproj -c Release -o $artifacts --no-build }
3636

Push.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$scriptName = $MyInvocation.MyCommand.Name
2-
$artifacts = "./artifacts"
2+
$artifacts = "../artifacts"
33

44
if ([string]::IsNullOrEmpty($Env:NUGET_API_KEY)) {
55
Write-Host "${scriptName}: NUGET_API_KEY is empty or not set. Skipped pushing package(s)."

src/Benchmark/Benchmark.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
55
<OutputType>Exe</OutputType>
66
</PropertyGroup>
77

src/IntegrationTests/AutoMapper.IntegrationTests.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0</TargetFrameworks>
4+
<TargetFrameworks>net7.0</TargetFrameworks>
55
<NoWarn>$(NoWarn);618</NoWarn>
66
</PropertyGroup>
77

src/UnitTests/AutoMapper.UnitTests.csproj

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

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0</TargetFrameworks>
4+
<TargetFrameworks>net7.0</TargetFrameworks>
55
<NoWarn>$(NoWarn);649;618</NoWarn>
66
</PropertyGroup>
77

0 commit comments

Comments
 (0)