Skip to content

Commit

Permalink
updated template
Browse files Browse the repository at this point in the history
  • Loading branch information
seayxu committed Jul 24, 2023
1 parent 91a9938 commit bc63a24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions templates/src/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
"Net461Chosen": {
"type": "computed",
"value": "(Framework == \"net461\")"
},
"NetFxChosen": {
"type": "computed",
"value": "(Framework == \"net461\") or (Framework == \"net462\")"
}
}
}
4 changes: 3 additions & 1 deletion templates/src/Hsu.Db.Export.Spreadsheet.Worker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageReference Include="Hsu.Db.Export.Spreadsheet" Version="2023.307.24-preview223238" />
<PackageReference Include="FreeSql.Provider.MySql" Version="3.2.697" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="7.0.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="6.0.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="7.0.0" />
<PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
Expand All @@ -23,6 +23,8 @@
<!--#else -->
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="7.0.1" />
<!--#endif -->
<!--#if (!NetFxChosen)-->
<PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="7.0.0" />
<!--#endif -->
</ItemGroup>
Expand Down

0 comments on commit bc63a24

Please sign in to comment.