-
Notifications
You must be signed in to change notification settings - Fork 0
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
update to .net 8 #10
Conversation
@@ -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> |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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:
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); |
Upgrade to .NET 8