Skip to content

Commit a98255c

Browse files
committed
update from dotnet 3.1 to dotnet 8.0
1 parent 43f0bda commit a98255c

19 files changed

+1308
-1584
lines changed

.gitignore

+136-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
33
##
4-
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
4+
## Get latest from `dotnet new gitignore`
5+
6+
# dotenv files
7+
.env
58

69
# User-specific files
710
*.rsuser
@@ -23,6 +26,7 @@ mono_crash.*
2326
[Rr]eleases/
2427
x64/
2528
x86/
29+
[Ww][Ii][Nn]32/
2630
[Aa][Rr][Mm]/
2731
[Aa][Rr][Mm]64/
2832
bld/
@@ -56,11 +60,17 @@ dlldata.c
5660
# Benchmark Results
5761
BenchmarkDotNet.Artifacts/
5862

59-
# .NET Core
63+
# .NET
6064
project.lock.json
6165
project.fragment.lock.json
6266
artifacts/
6367

68+
# Tye
69+
.tye/
70+
71+
# ASP.NET Scaffolding
72+
ScaffoldingReadMe.txt
73+
6474
# StyleCop
6575
StyleCopReport.xml
6676

@@ -86,6 +96,7 @@ StyleCopReport.xml
8696
*.tmp_proj
8797
*_wpftmp.csproj
8898
*.log
99+
*.tlog
89100
*.vspscc
90101
*.vssscc
91102
.builds
@@ -137,6 +148,11 @@ _TeamCity*
137148
.axoCover/*
138149
!.axoCover/settings.json
139150

151+
# Coverlet is a free, cross platform Code Coverage Tool
152+
coverage*.json
153+
coverage*.xml
154+
coverage*.info
155+
140156
# Visual Studio code coverage results
141157
*.coverage
142158
*.coveragexml
@@ -284,6 +300,17 @@ node_modules/
284300
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
285301
*.vbw
286302

303+
# Visual Studio 6 auto-generated project file (contains which files were open etc.)
304+
*.vbp
305+
306+
# Visual Studio 6 workspace and project file (working project files containing files to include in project)
307+
*.dsw
308+
*.dsp
309+
310+
# Visual Studio 6 technical files
311+
*.ncb
312+
*.aps
313+
287314
# Visual Studio LightSwitch build output
288315
**/*.HTMLClient/GeneratedArtifacts
289316
**/*.DesktopClient/GeneratedArtifacts
@@ -340,6 +367,9 @@ ASALocalRun/
340367
# Local History for Visual Studio
341368
.localhistory/
342369

370+
# Visual Studio History (VSHistory) files
371+
.vshistory/
372+
343373
# BeatPulse healthcheck temp database
344374
healthchecksdb
345375

@@ -348,3 +378,107 @@ MigrationBackup/
348378

349379
# Ionide (cross platform F# VS Code tools) working folder
350380
.ionide/
381+
382+
# Fody - auto-generated XML schema
383+
FodyWeavers.xsd
384+
385+
# VS Code files for those working on multiple tools
386+
.vscode/*
387+
!.vscode/settings.json
388+
!.vscode/tasks.json
389+
!.vscode/launch.json
390+
!.vscode/extensions.json
391+
*.code-workspace
392+
393+
# Local History for Visual Studio Code
394+
.history/
395+
396+
# Windows Installer files from build outputs
397+
*.cab
398+
*.msi
399+
*.msix
400+
*.msm
401+
*.msp
402+
403+
# JetBrains Rider
404+
*.sln.iml
405+
.idea
406+
407+
##
408+
## Visual studio for Mac
409+
##
410+
411+
412+
# globs
413+
Makefile.in
414+
*.userprefs
415+
*.usertasks
416+
config.make
417+
config.status
418+
aclocal.m4
419+
install-sh
420+
autom4te.cache/
421+
*.tar.gz
422+
tarballs/
423+
test-results/
424+
425+
# Mac bundle stuff
426+
*.dmg
427+
*.app
428+
429+
# content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore
430+
# General
431+
.DS_Store
432+
.AppleDouble
433+
.LSOverride
434+
435+
# Icon must end with two \r
436+
Icon
437+
438+
439+
# Thumbnails
440+
._*
441+
442+
# Files that might appear in the root of a volume
443+
.DocumentRevisions-V100
444+
.fseventsd
445+
.Spotlight-V100
446+
.TemporaryItems
447+
.Trashes
448+
.VolumeIcon.icns
449+
.com.apple.timemachine.donotpresent
450+
451+
# Directories potentially created on remote AFP share
452+
.AppleDB
453+
.AppleDesktop
454+
Network Trash Folder
455+
Temporary Items
456+
.apdisk
457+
458+
# content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
459+
# Windows thumbnail cache files
460+
Thumbs.db
461+
ehthumbs.db
462+
ehthumbs_vista.db
463+
464+
# Dump file
465+
*.stackdump
466+
467+
# Folder config file
468+
[Dd]esktop.ini
469+
470+
# Recycle Bin used on file shares
471+
$RECYCLE.BIN/
472+
473+
# Windows Installer files
474+
*.cab
475+
*.msi
476+
*.msix
477+
*.msm
478+
*.msp
479+
480+
# Windows shortcuts
481+
*.lnk
482+
483+
# Vim temporary swap files
484+
*.swp

.vscode/launch.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
// Use IntelliSense to find out which attributes exist for C# debugging
6+
// Use hover for the description of the existing attributes
7+
// For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md
8+
"name": ".NET Core Launch (console)",
9+
"type": "coreclr",
10+
"request": "launch",
11+
"preLaunchTask": "build",
12+
// If you have changed target frameworks, make sure to update the program path.
13+
"program": "${workspaceFolder}/tests/Bigai.Tools.Feriados.Tests/bin/Debug/net8.0/Bigai.Tools.Feriados.Tests.dll",
14+
"args": [],
15+
"cwd": "${workspaceFolder}/tests/Bigai.Tools.Feriados.Tests",
16+
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
17+
"console": "internalConsole",
18+
"stopAtEntry": false
19+
},
20+
{
21+
"name": ".NET Core Attach",
22+
"type": "coreclr",
23+
"request": "attach"
24+
}
25+
]
26+
}

.vscode/tasks.json

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/Feriados.sln",
11+
"/property:GenerateFullPaths=true",
12+
"/consoleloggerparameters:NoSummary;ForceNoAlign"
13+
],
14+
"problemMatcher": "$msCompile",
15+
"group": {
16+
"kind": "build",
17+
"isDefault": true
18+
}
19+
},
20+
{
21+
"label": "publish",
22+
"command": "dotnet",
23+
"type": "process",
24+
"args": [
25+
"publish",
26+
"${workspaceFolder}/Feriados.sln",
27+
"/property:GenerateFullPaths=true",
28+
"/consoleloggerparameters:NoSummary;ForceNoAlign"
29+
],
30+
"problemMatcher": "$msCompile"
31+
},
32+
{
33+
"label": "watch",
34+
"command": "dotnet",
35+
"type": "process",
36+
"args": [
37+
"watch",
38+
"run",
39+
"--project",
40+
"${workspaceFolder}/Feriados.sln"
41+
],
42+
"problemMatcher": "$msCompile"
43+
}
44+
]
45+
}

Feriados.sln

+19-14
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,36 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30413.136
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31903.59
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bigai.Tools.Feriados", "src\Bigai.Tools.Feriados\Bigai.Tools.Feriados.csproj", "{C84C2F6D-17AE-412A-A123-D6CFF8512C35}"
6+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{25EDCB3F-F063-4A79-B064-6C6996AAE6F0}"
77
EndProject
8-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bigai.Tools.Feriados.Tests", "tests\Bigai.Tools.Feriados.Tests\Bigai.Tools.Feriados.Tests.csproj", "{990007B6-490E-49CA-AF70-266023FAD032}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bigai.Tools.Feriados", "src\Bigai.Tools.Feriados\Bigai.Tools.Feriados.csproj", "{4505E43E-C214-4A1E-9427-A314CAD4EF4B}"
9+
EndProject
10+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{3E99DCBE-4563-4345-A0B0-893461709052}"
11+
EndProject
12+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bigai.Tools.Feriados.Tests", "tests\Bigai.Tools.Feriados.Tests\Bigai.Tools.Feriados.Tests.csproj", "{3C91EA71-B944-4561-88EF-B25A4DE83CB4}"
913
EndProject
1014
Global
1115
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1216
Debug|Any CPU = Debug|Any CPU
1317
Release|Any CPU = Release|Any CPU
1418
EndGlobalSection
1519
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16-
{C84C2F6D-17AE-412A-A123-D6CFF8512C35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17-
{C84C2F6D-17AE-412A-A123-D6CFF8512C35}.Debug|Any CPU.Build.0 = Debug|Any CPU
18-
{C84C2F6D-17AE-412A-A123-D6CFF8512C35}.Release|Any CPU.ActiveCfg = Release|Any CPU
19-
{C84C2F6D-17AE-412A-A123-D6CFF8512C35}.Release|Any CPU.Build.0 = Release|Any CPU
20-
{990007B6-490E-49CA-AF70-266023FAD032}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21-
{990007B6-490E-49CA-AF70-266023FAD032}.Debug|Any CPU.Build.0 = Debug|Any CPU
22-
{990007B6-490E-49CA-AF70-266023FAD032}.Release|Any CPU.ActiveCfg = Release|Any CPU
23-
{990007B6-490E-49CA-AF70-266023FAD032}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{4505E43E-C214-4A1E-9427-A314CAD4EF4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{4505E43E-C214-4A1E-9427-A314CAD4EF4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{4505E43E-C214-4A1E-9427-A314CAD4EF4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{4505E43E-C214-4A1E-9427-A314CAD4EF4B}.Release|Any CPU.Build.0 = Release|Any CPU
24+
{3C91EA71-B944-4561-88EF-B25A4DE83CB4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25+
{3C91EA71-B944-4561-88EF-B25A4DE83CB4}.Debug|Any CPU.Build.0 = Debug|Any CPU
26+
{3C91EA71-B944-4561-88EF-B25A4DE83CB4}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{3C91EA71-B944-4561-88EF-B25A4DE83CB4}.Release|Any CPU.Build.0 = Release|Any CPU
2428
EndGlobalSection
2529
GlobalSection(SolutionProperties) = preSolution
2630
HideSolutionNode = FALSE
2731
EndGlobalSection
28-
GlobalSection(ExtensibilityGlobals) = postSolution
29-
SolutionGuid = {C866FC2B-B379-4FE5-B9BD-9E6459CD02F1}
32+
GlobalSection(NestedProjects) = preSolution
33+
{4505E43E-C214-4A1E-9427-A314CAD4EF4B} = {25EDCB3F-F063-4A79-B064-6C6996AAE6F0}
34+
{3C91EA71-B944-4561-88EF-B25A4DE83CB4} = {3E99DCBE-4563-4345-A0B0-893461709052}
3035
EndGlobalSection
3136
EndGlobal

src/Bigai.Tools.Feriados/Bigai.Tools.Feriados.csproj

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
5-
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
8+
<Title>Bigai.Tools.Feriados, developed by Bigai Software.</Title>
69
<Authors>Marcos Cruz, Bigai Consultoria Software</Authors>
7-
<Copyright>Feriados - Copyright © 2020 - Bigai Consultoria Software.</Copyright>
8-
<Company>Bigai Consultoria Software</Company>
10+
<Company>Bigai Software, Santo André, SP, Brazil.</Company>
911
<Description>Biblioteca de feriados no território Brasileiro.</Description>
1012
<RepositoryUrl>https://github.com/marcos-cruz/Feriados.git</RepositoryUrl>
1113
<RepositoryType>git</RepositoryType>
1214
<PackageTags>Feriado Nacional Estadual Municipal</PackageTags>
13-
</PropertyGroup>
14-
15-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
16-
<DocumentationFile>D:\Projects\Bigai Software\Git\Feriados\src\Bigai.Tools.Feriados\Bigai.Tools.Feriados.xml</DocumentationFile>
15+
<Copyright>Copyright ©2020-2024 Bigai Software, All rights reserved.</Copyright>
16+
<NoWarn>$(NoWarn);1591</NoWarn>
1717
</PropertyGroup>
1818

1919
<ItemGroup>

0 commit comments

Comments
 (0)