Skip to content

Commit

Permalink
Update dotnet monorepo to v8
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Aug 16, 2024
1 parent 0595190 commit f4c2c19
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions Source/ApiTemplate/Source/ApiTemplate/ApiTemplate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
<PackageReference Include="FluentValidation.AspNetCore" Version="11.3.0" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" Condition="'$(ApplicationInsights)' == 'true'" />
<PackageReference Include="Microsoft.AspNetCore.ApplicationInsights.HostingStartup" Version="2.2.0" Condition="'$(ApplicationInsights)' == 'true'" />
<PackageReference Include="Microsoft.AspNetCore.AzureAppServicesIntegration" Version="7.0.11" Condition="'$(Azure)' == 'true'" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.0.11" />
<PackageReference Include="Microsoft.AspNetCore.AzureAppServicesIntegration" Version="8.0.8" Condition="'$(Azure)' == 'true'" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.8" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" Condition="'$(Versioning)' == 'true'" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="7.0.11" Condition="'$(DistributedCacheRedis)' == 'true'" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="8.0.8" Condition="'$(DistributedCacheRedis)' == 'true'" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.19.5" Condition="'$(Docker)' == 'true'" />
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.6.0" Condition="'$(OpenTelemetry)' == 'true'" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.6.0" Condition="'$(OpenTelemetry)' == 'true'" />
Expand Down
4 changes: 2 additions & 2 deletions Source/ApiTemplate/Source/ApiTemplate/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

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

# SDK image used to build and publish the application
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS sdk
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS sdk
# To use the debug build configuration pass --build-arg Configuration=Debug
ARG Configuration=Release
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</PackageReference>
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.9" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.11" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.8" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="Serilog.Sinks.XUnit" Version="3.0.5" Condition="'$(Serilog)' == 'true'" />
<PackageReference Include="xunit" Version="2.5.1" />
Expand Down
2 changes: 1 addition & 1 deletion Source/ApiTemplate/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"sdk": {
"allowPrerelease": false,
"rollForward": "latestMajor",
"version": "7.0.401"
"version": "8.0.401"
}
}
4 changes: 2 additions & 2 deletions Source/GraphQLTemplate/Source/GraphQLTemplate/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

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

# SDK image used to build and publish the application
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS sdk
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS sdk
# To use the debug build configuration pass --build-arg Configuration=Debug
ARG Configuration=Release
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
<PackageReference Include="HotChocolate.Types.Scalars" Version="13.5.1" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" Condition="'$(ApplicationInsights)' == 'true'" />
<PackageReference Include="Microsoft.AspNetCore.ApplicationInsights.HostingStartup" Version="2.2.0" Condition="'$(ApplicationInsights)' == 'true'" />
<PackageReference Include="Microsoft.AspNetCore.AzureAppServicesIntegration" Version="7.0.11" Condition="'$(Azure)' == 'true'" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="7.0.11" Condition="'$(DistributedCacheRedis)' == 'true'" />
<PackageReference Include="Microsoft.AspNetCore.AzureAppServicesIntegration" Version="8.0.8" Condition="'$(Azure)' == 'true'" />
<PackageReference Include="Microsoft.Extensions.Caching.StackExchangeRedis" Version="8.0.8" Condition="'$(DistributedCacheRedis)' == 'true'" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.19.5" Condition="'$(Docker)' == 'true'" />
<PackageReference Include="OpenTelemetry.Exporter.Console" Version="1.6.0" Condition="'$(OpenTelemetry)' == 'true'" />
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.6.0" Condition="'$(OpenTelemetry)' == 'true'" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</PackageReference>
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.9" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.11" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.8" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="Serilog.Sinks.XUnit" Version="3.0.5" Condition="'$(Serilog)' == 'true'" />
<PackageReference Include="xunit" Version="2.5.1" />
Expand Down
2 changes: 1 addition & 1 deletion Source/GraphQLTemplate/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"sdk": {
"allowPrerelease": false,
"rollForward": "latestMajor",
"version": "7.0.401"
"version": "8.0.401"
}
}
2 changes: 1 addition & 1 deletion Source/NuGetTemplate/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"sdk": {
"allowPrerelease": false,
"rollForward": "latestMajor",
"version": "7.0.401"
"version": "8.0.401"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</PropertyGroup>

<ItemGroup Label="Package References">
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="8.0.0" />
<PackageReference Include="Microsoft.Orleans.BroadcastChannel" Version="7.2.1" />
<PackageReference Include="Microsoft.Orleans.Client" Version="7.2.1" />
<PackageReference Include="Microsoft.Orleans.Streaming" Version="7.2.1" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

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

# SDK image used to build and publish the application
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS sdk
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS sdk
# To use the debug build configuration pass --build-arg Configuration=Debug
ARG Configuration=Release
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
<PackageReference Include="Boxed.AspNetCore" Version="9.0.1" />
<PackageReference Include="OrleansDashboard" Version="7.2.2" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" Condition="'$(ApplicationInsights)' == 'true'" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
<PackageReference Include="Microsoft.Orleans.BroadcastChannel" Version="7.2.1" />
<PackageReference Include="Microsoft.Orleans.Clustering.AzureStorage" Version="7.2.1" />
<PackageReference Include="Microsoft.Orleans.Connections.Security" Version="7.2.1" Condition="'$(TLS)' == 'true'" />
Expand Down
2 changes: 1 addition & 1 deletion Source/OrleansTemplate/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"sdk": {
"allowPrerelease": false,
"rollForward": "latestMajor",
"version": "7.0.401"
"version": "8.0.401"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="5.2.9" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="7.0.11" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.8" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="Moq" Version="4.20.69" />
<PackageReference Include="xunit" Version="2.5.1" />
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"sdk": {
"allowPrerelease": false,
"rollForward": "latestMajor",
"version": "7.0.401"
"version": "8.0.401"
}
}

0 comments on commit f4c2c19

Please sign in to comment.