Skip to content

Commit

Permalink
Update to .net 9 (#303)
Browse files Browse the repository at this point in the history
* Update packages and fix build issues based on new code analysis errors

* Update to build with net9.0 and update associated packages

* Update header as sonar cloud is too dumb to correctly parse a comment and too slow to fix their bug

* Finalize build to .net 9

* update CA to net 9.0
  • Loading branch information
k3ldar authored Dec 19, 2024
1 parent 03aedf1 commit 844da35
Show file tree
Hide file tree
Showing 1,209 changed files with 1,949 additions and 1,668 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Set up .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.x'
dotnet-version: '9.x'

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
Expand Down
2 changes: 1 addition & 1 deletion DAL/PluginManager.DAL.TextFiles/Internal/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
2 changes: 1 addition & 1 deletion DAL/PluginManager.DAL.TextFiles/PluginInitialisation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@
</AssemblyAttribute>
</ItemGroup>

<ItemGroup>
<PackageReference Update="SonarAnalyzer.CSharp" Version="10.3.0.106239">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(CodeSignAssembly)'=='true'">
<Exec Command="call &quot;..\..\..\SignLibrary.bat&quot; &quot;$(TargetDir)$(TargetName)$(TargetExt)&quot;" />
</Target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down Expand Up @@ -37,11 +37,6 @@ internal class SettingsProvider : IApplicationSettingsProvider
{
private readonly ISimpleDBOperations<SettingsDataRow> _settingsData;

public sealed class SettingValue
{
public string Value { get; set; }
}

public SettingsProvider(ISimpleDBOperations<SettingsDataRow> settingsData)
{
_settingsData = settingsData ?? throw new ArgumentNullException(nameof(settingsData));
Expand Down
2 changes: 1 addition & 1 deletion DAL/PluginManager.DAL.TextFiles/Providers/BlogProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
2 changes: 1 addition & 1 deletion DAL/PluginManager.DAL.TextFiles/Providers/LoginProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
2 changes: 1 addition & 1 deletion DAL/PluginManager.DAL.TextFiles/Providers/SeoProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
2 changes: 1 addition & 1 deletion DAL/PluginManager.DAL.TextFiles/Providers/StockProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Service Manager modules used on your system as well. The GPL (version 3) is
* available at https://opensource.org/licenses/GPL-3.0
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY,
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
Expand Down
Loading

0 comments on commit 844da35

Please sign in to comment.