Skip to content

Commit b526833

Browse files
Update dotnet monorepo to v8
1 parent 0595190 commit b526833

File tree

15 files changed

+24
-24
lines changed

15 files changed

+24
-24
lines changed

Diff for: Source/ApiTemplate/Source/ApiTemplate/ApiTemplate.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@
5252
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
5353
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" Condition="'$(ApplicationInsights)' == 'true'" />
5454
<PackageReference Include="Microsoft.AspNetCore.ApplicationInsights.HostingStartup" Version="2.2.0" Condition="'$(ApplicationInsights)' == 'true'" />
55-
<PackageReference Include="Microsoft.AspNetCore.AzureAppServicesIntegration" Version="7.0.11" Condition="'$(Azure)' == 'true'" />
56-
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.0.11" />
55+
<PackageReference Include="Microsoft.AspNetCore.AzureAppServicesIntegration" Version="8.0.0" Condition="'$(Azure)' == 'true'" />
56+
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.0" />
5757
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" Condition="'$(Versioning)' == 'true'" />
58-
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="7.0.11" Condition="'$(DistributedCacheRedis)' == 'true'" />
58+
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="8.0.0" Condition="'$(DistributedCacheRedis)' == 'true'" />
5959
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.19.5" Condition="'$(Docker)' == 'true'" />
6060
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.6.0" Condition="'$(OpenTelemetry)' == 'true'" />
6161
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.6.0" Condition="'$(OpenTelemetry)' == 'true'" />

Diff for: Source/ApiTemplate/Source/ApiTemplate/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Base image used by Visual Studio at development time
77
# (See https://docs.microsoft.com/en-us/visualstudio/containers/container-msbuild-properties)
8-
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine AS base
8+
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
99
# Open Container Initiative (OCI) labels (See https://github.com/opencontainers/image-spec/blob/master/annotations.md).
1010
LABEL org.opencontainers.image.title="PROJECT-TITLE" \
1111
org.opencontainers.image.description="PROJECT-DESCRIPTION" \
@@ -34,7 +34,7 @@ EXPOSE 80 443
3434
#endif
3535

3636
# SDK image used to build and publish the application
37-
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS sdk
37+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS sdk
3838
# To use the debug build configuration pass --build-arg Configuration=Debug
3939
ARG Configuration=Release
4040
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true \

Diff for: Source/ApiTemplate/Tests/ApiTemplate.IntegrationTest/ApiTemplate.IntegrationTest.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</PackageReference>
2020
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.9" />
2121
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
22-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.11" />
22+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.0" />
2323
<PackageReference Include="Moq" Version="4.20.69" />
2424
<PackageReference Include="Serilog.Sinks.XUnit" Version="3.0.5" Condition="'$(Serilog)' == 'true'" />
2525
<PackageReference Include="xunit" Version="2.5.1" />

Diff for: Source/ApiTemplate/global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"sdk": {
33
"allowPrerelease": false,
44
"rollForward": "latestMajor",
5-
"version": "7.0.401"
5+
"version": "8.0.100"
66
}
77
}

Diff for: Source/GraphQLTemplate/Source/GraphQLTemplate/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Base image used by Visual Studio at development time
77
# (See https://docs.microsoft.com/en-us/visualstudio/containers/container-msbuild-properties)
8-
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine AS base
8+
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
99
# Open Container Initiative (OCI) labels (See https://github.com/opencontainers/image-spec/blob/master/annotations.md).
1010
LABEL org.opencontainers.image.title="PROJECT-TITLE" \
1111
org.opencontainers.image.description="PROJECT-DESCRIPTION" \
@@ -34,7 +34,7 @@ EXPOSE 80 443
3434
#endif
3535

3636
# SDK image used to build and publish the application
37-
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS sdk
37+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS sdk
3838
# To use the debug build configuration pass --build-arg Configuration=Debug
3939
ARG Configuration=Release
4040
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true \

Diff for: Source/GraphQLTemplate/Source/GraphQLTemplate/GraphQLTemplate.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
<PackageReference Include="HotChocolate.Types.Scalars" Version="13.5.1" />
6161
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" Condition="'$(ApplicationInsights)' == 'true'" />
6262
<PackageReference Include="Microsoft.AspNetCore.ApplicationInsights.HostingStartup" Version="2.2.0" Condition="'$(ApplicationInsights)' == 'true'" />
63-
<PackageReference Include="Microsoft.AspNetCore.AzureAppServicesIntegration" Version="7.0.11" Condition="'$(Azure)' == 'true'" />
64-
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="7.0.11" Condition="'$(DistributedCacheRedis)' == 'true'" />
63+
<PackageReference Include="Microsoft.AspNetCore.AzureAppServicesIntegration" Version="8.0.0" Condition="'$(Azure)' == 'true'" />
64+
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="8.0.0" Condition="'$(DistributedCacheRedis)' == 'true'" />
6565
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.19.5" Condition="'$(Docker)' == 'true'" />
6666
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.6.0" Condition="'$(OpenTelemetry)' == 'true'" />
6767
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.6.0" Condition="'$(OpenTelemetry)' == 'true'" />

Diff for: Source/GraphQLTemplate/Tests/GraphQLTemplate.IntegrationTest/GraphQLTemplate.IntegrationTest.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</PackageReference>
2020
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.9" />
2121
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
22-
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.11" />
22+
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.0" />
2323
<PackageReference Include="Moq" Version="4.20.69" />
2424
<PackageReference Include="Serilog.Sinks.XUnit" Version="3.0.5" Condition="'$(Serilog)' == 'true'" />
2525
<PackageReference Include="xunit" Version="2.5.1" />

Diff for: Source/GraphQLTemplate/global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"sdk": {
33
"allowPrerelease": false,
44
"rollForward": "latestMajor",
5-
"version": "7.0.401"
5+
"version": "8.0.100"
66
}
77
}

Diff for: Source/NuGetTemplate/global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"sdk": {
33
"allowPrerelease": false,
44
"rollForward": "latestMajor",
5-
"version": "7.0.401"
5+
"version": "8.0.100"
66
}
77
}

Diff for: Source/OrleansTemplate/Source/OrleansTemplate.Client/OrleansTemplate.Client.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup Label="Package References">
17-
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
18-
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
17+
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
18+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
1919
<PackageReference Include="Microsoft.Orleans.BroadcastChannel" Version="7.2.1" />
2020
<PackageReference Include="Microsoft.Orleans.Client" Version="7.2.1" />
2121
<PackageReference Include="Microsoft.Orleans.Streaming" Version="7.2.1" />

Diff for: Source/OrleansTemplate/Source/OrleansTemplate.Server/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# Base image used by Visual Studio at development time
77
# (See https://docs.microsoft.com/en-us/visualstudio/containers/container-msbuild-properties)
8-
FROM mcr.microsoft.com/dotnet/aspnet:7.0-alpine AS base
8+
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
99
# Open Container Initiative (OCI) labels (See https://github.com/opencontainers/image-spec/blob/master/annotations.md).
1010
LABEL org.opencontainers.image.title="PROJECT-TITLE" \
1111
org.opencontainers.image.description="PROJECT-DESCRIPTION" \
@@ -30,7 +30,7 @@ WORKDIR /app
3030
EXPOSE 80 11111 30000
3131

3232
# SDK image used to build and publish the application
33-
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS sdk
33+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS sdk
3434
# To use the debug build configuration pass --build-arg Configuration=Debug
3535
ARG Configuration=Release
3636
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true \

Diff for: Source/OrleansTemplate/Source/OrleansTemplate.Server/OrleansTemplate.Server.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
<PackageReference Include="Boxed.AspNetCore" Version="9.0.1" />
4242
<PackageReference Include="OrleansDashboard" Version="7.2.2" />
4343
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" Condition="'$(ApplicationInsights)' == 'true'" />
44-
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="7.0.0" />
45-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
46-
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="7.0.0" />
44+
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="8.0.0" />
45+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
46+
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
4747
<PackageReference Include="Microsoft.Orleans.BroadcastChannel" Version="7.2.1" />
4848
<PackageReference Include="Microsoft.Orleans.Clustering.AzureStorage" Version="7.2.1" />
4949
<PackageReference Include="Microsoft.Orleans.Connections.Security" Version="7.2.1" Condition="'$(TLS)' == 'true'" />

Diff for: Source/OrleansTemplate/global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"sdk": {
33
"allowPrerelease": false,
44
"rollForward": "latestMajor",
5-
"version": "7.0.401"
5+
"version": "8.0.100"
66
}
77
}

Diff for: Tests/Boxed.Templates.FunctionalTest/Boxed.Templates.FunctionalTest.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>
1717
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.9" />
18-
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="7.0.11" />
18+
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.0" />
1919
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
2020
<PackageReference Include="Moq" Version="4.20.69" />
2121
<PackageReference Include="xunit" Version="2.5.1" />

Diff for: global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"sdk": {
33
"allowPrerelease": false,
44
"rollForward": "latestMajor",
5-
"version": "7.0.401"
5+
"version": "8.0.100"
66
}
77
}

0 commit comments

Comments
 (0)