File tree 8 files changed +14
-18
lines changed
8 files changed +14
-18
lines changed Original file line number Diff line number Diff line change 20
20
displayName : ' Use .NET 6 SDK 6.0.100'
21
21
inputs :
22
22
version : 6.0.100
23
- - task : UseDotNet@2
24
- displayName : " Use .NET Core SDK 3.1.415"
25
- inputs :
26
- version : 3.1.415
27
23
# Linux or macOS
28
24
- script : docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
29
25
displayName : Docker - Register QEMU
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ Target "PublishCode" (fun _ ->
316
316
Project = project
317
317
Configuration = configuration
318
318
VersionSuffix = overrideVersionSuffix project
319
- Framework = " netcoreapp3.1 "
319
+ Framework = " net6.0 "
320
320
})
321
321
322
322
projects |> Seq.iter ( runSingleProject)
Original file line number Diff line number Diff line change 1
- FROM mcr.microsoft.com/dotnet/sdk:3.1 AS base
1
+ FROM mcr.microsoft.com/dotnet/sdk:6.0 AS base
2
2
WORKDIR /app
3
3
4
4
# Install Petabridge.Cmd client so it can be invoked remotely via
@@ -7,9 +7,9 @@ RUN dotnet tool install --global pbm
7
7
8
8
# RUN pbm help
9
9
10
- COPY ./bin/Release/netcoreapp3.1 /publish/ /app
10
+ COPY ./bin/Release/net6.0 /publish/ /app
11
11
12
- FROM mcr.microsoft.com/dotnet/runtime:3.1 AS app
12
+ FROM mcr.microsoft.com/dotnet/runtime:6.0 AS app
13
13
WORKDIR /app
14
14
15
15
COPY --from=base /app /app
Original file line number Diff line number Diff line change 1
- FROM mcr.microsoft.com/dotnet/core/ sdk:3.1 AS base
1
+ FROM mcr.microsoft.com/dotnet/sdk:6.0 AS base
2
2
WORKDIR /app
3
3
4
4
# Install Petabridge.Cmd client so it can be invoked remotely via
@@ -7,9 +7,9 @@ RUN dotnet tool install --global pbm
7
7
8
8
# RUN pbm help
9
9
10
- COPY ./bin/Release/netcoreapp3.1 /publish/ /app
10
+ COPY ./bin/Release/net6.0 /publish/ /app
11
11
12
- FROM mcr.microsoft.com/dotnet/core/ runtime:3.1 AS app
12
+ FROM mcr.microsoft.com/dotnet/runtime:6.0 AS app
13
13
WORKDIR /app
14
14
15
15
COPY --from=base /app /app
Original file line number Diff line number Diff line change 1
- FROM mcr.microsoft.com/dotnet/core/ sdk:3.1-nanoserver-1809 AS base
1
+ FROM mcr.microsoft.com/dotnet/sdk:6.0 AS base
2
2
WORKDIR /app
3
3
4
4
# Install Petabridge.Cmd client so it can be invoked remotely via
@@ -10,9 +10,9 @@ WORKDIR /app
10
10
11
11
# RUN pbm help
12
12
13
- COPY ./bin/Release/netcoreapp3.1 /publish/ /app
13
+ COPY ./bin/Release/net6.0 /publish/ /app
14
14
15
- FROM mcr.microsoft.com/dotnet/core/ runtime:3.1-nanoserver-1809 AS app
15
+ FROM mcr.microsoft.com/dotnet/runtime:6.0 AS app
16
16
WORKDIR /app
17
17
18
18
COPY --from=base /app /app
Original file line number Diff line number Diff line change 20
20
21
21
22
22
echo " Building project..."
23
- dotnet publish -c Release --framework netcoreapp3.1
23
+ dotnet publish -c Release --framework net6.0
24
24
dotnet build-server shutdown
25
25
26
26
LINUX_IMAGE=" $IMAGE_NAME :linux-$IMAGE_VERSION "
Original file line number Diff line number Diff line change 6
6
)
7
7
8
8
Write-Host " Building project..."
9
- dotnet publish - c Release -- framework netcoreapp3. 1
9
+ dotnet publish - c Release -- framework net6. 0
10
10
dotnet build-server shutdown
11
11
12
12
$windowsImage = " {0}:windows-{1}" -f $imageName , $tagVersion
Original file line number Diff line number Diff line change 18
18
<XunitVersion >2.4.2</XunitVersion >
19
19
<MicrosoftSdkVersion >17.3.0</MicrosoftSdkVersion >
20
20
<FluentAssertionsVersion >6.7.0</FluentAssertionsVersion >
21
- <NetCoreVersion >netcoreapp3.1 </NetCoreVersion >
21
+ <NetCoreVersion >net6.0 </NetCoreVersion >
22
22
<NetStandardVersion >netstandard1.6</NetStandardVersion >
23
23
<NetFrameworkLibVersion >net461</NetFrameworkLibVersion >
24
- <NetFrameworkTestVersion >netcoreapp3.1 </NetFrameworkTestVersion >
24
+ <NetFrameworkTestVersion >net6.0 </NetFrameworkTestVersion >
25
25
<AkkaVersion >1.4.40</AkkaVersion >
26
26
<PbmVersion >1.1.0</PbmVersion >
27
27
</PropertyGroup >
You can’t perform that action at this time.
0 commit comments