Skip to content

Commit 5c10c9c

Browse files
committed
Update to .Net10 and latest NuGets.
1 parent eac6aeb commit 5c10c9c

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
/obj
77
/bin/Debug/net6.0
88
/UA-CloudAction.csproj.user
9+
/bin/Debug/net10.0

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.
22

3-
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
3+
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
44
WORKDIR /app
55
EXPOSE 80
66
EXPOSE 443
77

8-
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
8+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
99
WORKDIR /src
1010
COPY ["UA-CloudAction.csproj", "."]
1111
RUN dotnet restore "./UA-CloudAction.csproj"

UA-CloudAction.csproj

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

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net10.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<RootNamespace>UACloudAction</RootNamespace>
@@ -11,10 +11,10 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Confluent.Kafka" Version="2.10.0" />
15-
<PackageReference Include="Microsoft.Azure.Kusto.Data" Version="13.0.2" />
16-
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.2" />
17-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
14+
<PackageReference Include="Confluent.Kafka" Version="2.14.0" />
15+
<PackageReference Include="Microsoft.Azure.Kusto.Data" Version="14.1.1" />
16+
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.23.0" />
17+
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
1818
</ItemGroup>
1919

2020
</Project>

0 commit comments

Comments
 (0)