File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 "type" : " coreclr" ,
77 "request" : " launch" ,
88 "preLaunchTask" : " Build: MuzakBot.App" ,
9- "program" : " ${workspaceFolder}/src/App/bin/Debug/net7 .0/MuzakBot.App.dll" ,
9+ "program" : " ${workspaceFolder}/src/App/bin/Debug/net8 .0/MuzakBot.App.dll" ,
1010 "args" : [],
1111 "cwd" : " ${workspaceFolder}/src/App" ,
1212 "stopAtEntry" : false ,
Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/dotnet/sdk:7 .0 AS build-env
1+ FROM mcr.microsoft.com/dotnet/sdk:8 .0 AS build-env
22WORKDIR /app
33
44COPY ./src/App/ ./
@@ -7,7 +7,7 @@ RUN dotnet restore
77
88RUN dotnet publish -c Release -o out
99
10- FROM mcr.microsoft.com/dotnet/runtime:7 .0
10+ FROM mcr.microsoft.com/dotnet/runtime:8 .0
1111
1212WORKDIR /app
1313COPY --from=build-env /app/out/ .
Original file line number Diff line number Diff line change 11{
2- "sdk" : {
3- "version" : " 7 .0.306 " ,
4- "rollForward" : " latestMinor " ,
2+ "sdk" : {
3+ "version" : " 8 .0.0 " ,
4+ "rollForward" : " latestFeature " ,
55 "allowPrerelease" : false
6- }
7- }
6+ }
7+ }
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >Exe</OutputType >
5- <TargetFramework >net7 .0</TargetFramework >
5+ <TargetFramework >net8 .0</TargetFramework >
66 <ImplicitUsings >enable</ImplicitUsings >
77 <Nullable >enable</Nullable >
88 <EmitCompilerGeneratedFiles >true</EmitCompilerGeneratedFiles >
2626 </PropertyGroup >
2727
2828 <PropertyGroup >
29- <CorePackageVersion >7 .*</CorePackageVersion >
29+ <CorePackageVersion >8.0 .*</CorePackageVersion >
3030 </PropertyGroup >
3131
3232 <ItemGroup >
3333 <PackageReference Include =" Discord.Net" Version =" 3.12.0" />
34- <PackageReference Include =" Microsoft.Extensions.Caching.Memory" Version =" 7.0.0 " />
34+ <PackageReference Include =" Microsoft.Extensions.Caching.Memory" Version =" $(CorePackageVersion) " />
3535 <PackageReference Include =" Microsoft.Extensions.Configuration" Version =" $(CorePackageVersion)" />
3636 <PackageReference Include =" Microsoft.Extensions.Configuration.Binder" Version =" $(CorePackageVersion)" />
3737 <PackageReference Include =" Microsoft.Extensions.Configuration.EnvironmentVariables" Version =" $(CorePackageVersion)" />
You can’t perform that action at this time.
0 commit comments