Skip to content

Commit 22990ad

Browse files
authored
chore(deps): package cleanup and remove unused usings (#7)
1 parent c93021f commit 22990ad

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ updates:
1111
Avalonia:
1212
patterns:
1313
- "Avalonia*"
14+
MicrosoftCodeAnalysis:
15+
patterns:
16+
- "Microsoft.CodeAnalysis.*"
1417
- package-ecosystem: "github-actions"
1518
directory: "/"
1619
schedule:

SharpFM.App/MainWindow.axaml.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
using System;
2-
using System.Collections.ObjectModel;
32
using Avalonia.Controls;
43
using AvaloniaEdit;
54
using AvaloniaEdit.TextMate;
6-
using SharpFM.Core;
75
using TextMateSharp.Grammars;
86

97
namespace SharpFM.App;

SharpFM.App/SharpFM.App.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
1010
<PublishSingleFile>true</PublishSingleFile>
1111
<SelfContained>true</SelfContained>
12-
<PublishReadyToRun>true</PublishReadyToRun>
1312
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
1413
<DebugType>embedded</DebugType>
1514
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
@@ -32,17 +31,18 @@
3231
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.0.4" />
3332
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.0.4" />
3433
<PackageReference Include="Avalonia.AvaloniaEdit" Version="11.0.1" />
34+
<PackageReference Include="TextMateSharp.Grammars" Version="1.0.56" />
3535
<PackageReference Include="AvaloniaEdit.TextMate" Version="11.0.1" />
36+
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
37+
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.4" />
38+
<PackageReference Include="FluentAvaloniaUI" Version="2.0.4" />
39+
3640
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.11" />
41+
3742
<PackageReference Include="MinVer" Version="4.3.0">
3843
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3944
<PrivateAssets>all</PrivateAssets>
4045
</PackageReference>
41-
<PackageReference Include="TextMateSharp.Grammars" Version="1.0.56" />
42-
43-
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
44-
<PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="11.0.4" />
45-
<PackageReference Include="FluentAvaloniaUI" Version="2.0.4" />
4646

4747
<ProjectReference Include="..\SharpFM.Core\SharpFM.Core.csproj" />
4848
</ItemGroup>

SharpFM.App/ViewModels/MainWindowViewModel.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using System.ComponentModel;
44
using System.Linq;
55
using System.Runtime.CompilerServices;
6-
using System.Threading;
76
using System.Threading.Tasks;
87
using Avalonia;
98
using Avalonia.Controls.ApplicationLifetimes;

0 commit comments

Comments
 (0)