Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to .net 8 #10

Merged
merged 6 commits into from
Jul 3, 2024
Merged

update to .net 8 #10

merged 6 commits into from
Jul 3, 2024

Conversation

rducom
Copy link
Contributor

@rducom rducom commented Jun 25, 2024

Upgrade to .NET 8

@@ -13,7 +13,7 @@
<Authors>rducom</Authors>
<Description>SqlBackupsTools</Description>
<PackageProjectUrl>https://github.com/LuccaSA/SqlBackupTools</PackageProjectUrl>
<Copyright>Copyright Lucca 2021</Copyright>
<Copyright>Copyright Lucca 2024</Copyright>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tu peux mettre <Copyright>Copyright Lucca $([System.DateTime]::Now.Year)</Copyright> pour ne plus jamais être emmerdé, sauf si tu veux le faire à la main pour une bonne raison.

@@ -1,6 +1,6 @@
{
"sdk": {
"version": "6.0.100",
"version": "v8.0.302",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est normal le v ?


var sink = LoggerSinkConfiguration.Wrap(sink => new BackgroundWorkerSink(sink), conf =>
{
var path = commandInfos.LogsPath?.Exists == true ? Path.Combine(commandInfos.LogsPath.FullName, logFileName) : "logs/" + logFileName;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Détail que tu ignorer:

Suggested change
var path = commandInfos.LogsPath?.Exists == true ? Path.Combine(commandInfos.LogsPath.FullName, logFileName) : "logs/" + logFileName;
var basePath = commandInfos.LogsPath?.Exists == true ? commandInfos.LogsPath.FullName : "logs";
var path = Path.Combine(basePath, logFileName);

@rducom rducom merged commit 79b2825 into main Jul 3, 2024
1 check passed
@rducom rducom deleted the update.dotnet8 branch July 3, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants