upgrade to net8.0

master
Dr. Sascha Woitschetzki 2024-02-26 08:39:03 +07:00
parent 0c8f2d6897
commit 2668bbb7a3
44 changed files with 107 additions and 68 deletions

@ -10,7 +10,7 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/bin/Debug/net6.0/console.dll",
"program": "${workspaceFolder}/bin/Debug/net8.0/console.dll",
"args": [],
"cwd": "${workspaceFolder}",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console

@ -0,0 +1,8 @@
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
Console.WriteLine("The current time is " + DateTime.Now);
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1,9 +0,0 @@
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
}
}
}

Binary file not shown.

@ -1,11 +1,11 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
".NETCoreApp,Version=v8.0": {
"console/1.0.0": {
"runtime": {
"console.dll": {}

Binary file not shown.

Binary file not shown.

@ -0,0 +1,12 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

@ -1,3 +0,0 @@
// See https://aka.ms/new-console-template for more information
Console.WriteLine("Hello, World!");
Console.WriteLine("The current time is " + DateTime.Now);

@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "console", "console.csproj", "{CE595A80-76BE-408A-A4DD-628DA5C1C1F8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{CE595A80-76BE-408A-A4DD-628DA5C1C1F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{CE595A80-76BE-408A-A4DD-628DA5C1C1F8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{CE595A80-76BE-408A-A4DD-628DA5C1C1F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{CE595A80-76BE-408A-A4DD-628DA5C1C1F8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {EC79C74A-92C8-4817-BF9F-579BD162512E}
EndGlobalSection
EndGlobal

Binary file not shown.

@ -1 +0,0 @@
da23444c5a7fa993a9b0a271f7b6651786e7b89c

@ -1 +0,0 @@
38b9c38111d1d9ff99b100421fd38d058b8979e1

@ -1,15 +0,0 @@
/home/sascha/coding/console/bin/Debug/net6.0/console
/home/sascha/coding/console/bin/Debug/net6.0/console.deps.json
/home/sascha/coding/console/bin/Debug/net6.0/console.runtimeconfig.json
/home/sascha/coding/console/bin/Debug/net6.0/console.dll
/home/sascha/coding/console/bin/Debug/net6.0/console.pdb
/home/sascha/coding/console/obj/Debug/net6.0/console.csproj.AssemblyReference.cache
/home/sascha/coding/console/obj/Debug/net6.0/console.GeneratedMSBuildEditorConfig.editorconfig
/home/sascha/coding/console/obj/Debug/net6.0/console.AssemblyInfoInputs.cache
/home/sascha/coding/console/obj/Debug/net6.0/console.AssemblyInfo.cs
/home/sascha/coding/console/obj/Debug/net6.0/console.csproj.CoreCompileInputs.cache
/home/sascha/coding/console/obj/Debug/net6.0/console.dll
/home/sascha/coding/console/obj/Debug/net6.0/ref/console.dll
/home/sascha/coding/console/obj/Debug/net6.0/console.pdb
/home/sascha/coding/console/obj/Debug/net6.0/console.genruntimeconfig.cache
/home/sascha/coding/console/obj/Debug/net6.0/refint/console.dll

Binary file not shown.

@ -1 +0,0 @@
530e03b755a3231d4e4d1d11f821e6ee1266339e

Binary file not shown.

Binary file not shown.

@ -1,4 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]

Binary file not shown.

@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("console")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0c8f2d6897da5f48eb3ca4343bcbebaf6883afa5")]
[assembly: System.Reflection.AssemblyProductAttribute("console")]
[assembly: System.Reflection.AssemblyTitleAttribute("console")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

@ -0,0 +1 @@
47ec32ded1e9f12d47380216314d79ecb79da55a6cf847c8746a0661553cf96c

@ -1,10 +1,13 @@
is_global = true
build_property.TargetFramework = net6.0
build_property.TargetFramework = net8.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = console
build_property.ProjectDir = /home/sascha/coding/console/
build_property.ProjectDir = /home/sascha/console/
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =

@ -0,0 +1 @@
0e59199129a97dc1e87f28850ac64b2e3afe337ce50799e9290b7c64d0cc8424

@ -0,0 +1,15 @@
/home/sascha/console/bin/Debug/net8.0/console
/home/sascha/console/bin/Debug/net8.0/console.deps.json
/home/sascha/console/bin/Debug/net8.0/console.runtimeconfig.json
/home/sascha/console/bin/Debug/net8.0/console.dll
/home/sascha/console/bin/Debug/net8.0/console.pdb
/home/sascha/console/obj/Debug/net8.0/console.GeneratedMSBuildEditorConfig.editorconfig
/home/sascha/console/obj/Debug/net8.0/console.AssemblyInfoInputs.cache
/home/sascha/console/obj/Debug/net8.0/console.AssemblyInfo.cs
/home/sascha/console/obj/Debug/net8.0/console.csproj.CoreCompileInputs.cache
/home/sascha/console/obj/Debug/net8.0/console.sourcelink.json
/home/sascha/console/obj/Debug/net8.0/console.dll
/home/sascha/console/obj/Debug/net8.0/refint/console.dll
/home/sascha/console/obj/Debug/net8.0/console.pdb
/home/sascha/console/obj/Debug/net8.0/console.genruntimeconfig.cache
/home/sascha/console/obj/Debug/net8.0/ref/console.dll

Binary file not shown.

@ -0,0 +1 @@
6fc78469dd1288c6b4cf60743214edb7f0b4b68f68383e6b986c5bd65a4db9d0

Binary file not shown.

@ -0,0 +1 @@
{"documents":{"/home/sascha/console/*":"https://raw.githubusercontent.com/DJh2o2/console/0c8f2d6897da5f48eb3ca4343bcbebaf6883afa5/*"}}

Binary file not shown.

@ -1,30 +1,30 @@
{
"format": 1,
"restore": {
"/home/sascha/coding/console/console.csproj": {}
"/home/sascha/console/console.csproj": {}
},
"projects": {
"/home/sascha/coding/console/console.csproj": {
"/home/sascha/console/console.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/sascha/coding/console/console.csproj",
"projectUniqueName": "/home/sascha/console/console.csproj",
"projectName": "console",
"projectPath": "/home/sascha/coding/console/console.csproj",
"projectPath": "/home/sascha/console/console.csproj",
"packagesPath": "/home/sascha/.nuget/packages/",
"outputPath": "/home/sascha/coding/console/obj/",
"outputPath": "/home/sascha/console/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/sascha/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net6.0"
"net8.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
@ -35,15 +35,16 @@
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
@ -52,7 +53,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.300/RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "/usr/lib/dotnet/sdk/8.0.102/PortableRuntimeIdentifierGraph.json"
}
}
}

@ -7,7 +7,7 @@
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/sascha/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/sascha/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.2.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/home/sascha/.nuget/packages/" />

@ -1,11 +1,11 @@
{
"version": 3,
"targets": {
"net6.0": {}
"net8.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net6.0": []
"net8.0": []
},
"packageFolders": {
"/home/sascha/.nuget/packages/": {}
@ -13,24 +13,24 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/sascha/coding/console/console.csproj",
"projectUniqueName": "/home/sascha/console/console.csproj",
"projectName": "console",
"projectPath": "/home/sascha/coding/console/console.csproj",
"projectPath": "/home/sascha/console/console.csproj",
"packagesPath": "/home/sascha/.nuget/packages/",
"outputPath": "/home/sascha/coding/console/obj/",
"outputPath": "/home/sascha/console/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/home/sascha/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"net6.0"
"net8.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {}
}
},
@ -41,15 +41,16 @@
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"net8.0": {
"targetAlias": "net8.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
@ -58,7 +59,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/6.0.300/RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "/usr/lib/dotnet/sdk/8.0.102/PortableRuntimeIdentifierGraph.json"
}
}
}

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "tVuGVLKXZ9WTS9y67pU26eRaRMKi0bN7DVvd/uPNa8D3zBkAG3J1XzikcFzdFzhYjKCAR8wt1aCSdBRsM3VNsw==",
"dgSpecHash": "3ZVcOCaaSc+BVQzA9z7y+Yee2Hat0kz3dULZDRESc5f4fbmkHgQvel+8umtXn/YVpvovfZxc4sX4UucMim+RHA==",
"success": true,
"projectFilePath": "/home/sascha/coding/console/console.csproj",
"projectFilePath": "/home/sascha/console/console.csproj",
"expectedPackageFiles": [],
"logs": []
}