Skip to content

Commit e7ec858

Browse files
committed
Update Clockify and dependencies to and for .NET 10
1 parent 50e5d06 commit e7ec858

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

Clockify.csproj

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<PackageIconUrl>https://github.com/eXpl0it3r/streamdeck-clockify/blob/master/Images/clockifyIcon%402x.png</PackageIconUrl>
2222
<RepositoryUrl>https://github.com/eXpl0it3r/streamdeck-clockify</RepositoryUrl>
2323
<RootNamespace />
24-
<TargetFramework>net8.0</TargetFramework>
24+
<TargetFramework>net10.0</TargetFramework>
2525
<LangVersion>12.0</LangVersion>
2626
</PropertyGroup>
2727
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -35,19 +35,15 @@
3535
<PublishDir>bin\Publish\dev.duerrenberger.clockify.sdPlugin\</PublishDir>
3636
</PropertyGroup>
3737
<ItemGroup>
38-
<PackageReference Include="ClockifyClient" Version="1.2.2" />
38+
<PackageReference Include="ClockifyClient" Version="1.2.8" />
3939
<PackageReference Include="CommandLineParser" Version="2.9.1" />
40-
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="4.14.0">
40+
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="5.3.0">
4141
<PrivateAssets>all</PrivateAssets>
4242
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
4343
</PackageReference>
44-
<PackageReference Include="NLog" Version="6.0.7" />
45-
<PackageReference Include="runtime.osx.10.10-x64.CoreCompat.System.Drawing" Version="6.0.5.128" />
46-
<PackageReference Include="StreamDeck-Tools" Version="6.3.2" />
44+
<PackageReference Include="NLog" Version="6.1.3" />
45+
<PackageReference Include="StreamDeck-Tools" Version="7.0.0" />
4746
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
48-
<!-- Satisfy dependency resolution for StreamDeck-Tools -->
49-
<PackageReference Include="System.Collections.Immutable" Version="10.0.2" />
50-
<PackageReference Include="System.Reflection.Metadata" Version="10.0.2" />
5147
</ItemGroup>
5248
<ItemGroup>
5349
<None Update="manifest.json">

Clockify/ClockifyService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ private async Task<TimeEntryWithRatesDtoV1> GetRunningTimerAsync()
147147
try
148148
{
149149
var timeEntries = await _clockifyClient.V1.Workspaces[_workspace.Id].User[_currentUser.Id].TimeEntries
150-
.GetAsync(p => p.QueryParameters.InProgress = true);
150+
.GetAsync(p => p.QueryParameters.InProgress = "true");
151151

152152
if (string.IsNullOrEmpty(_settings.ProjectName))
153153
{

0 commit comments

Comments
 (0)