Skip to content

Commit c15556a

Browse files
author
Jani Giannoudis
committed
updatend to .NET 8
updated NuGets updated version to 0.8.0-beta.1
1 parent e7b6171 commit c15556a

File tree

8 files changed

+13
-21
lines changed

8 files changed

+13
-21
lines changed

Client.Scripting.Tests/PayrollEngine.Client.Scripting.Tests.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
12-
<PackageReference Include="xunit" Version="2.5.0" />
13-
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.0">
11+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
12+
<PackageReference Include="xunit" Version="2.6.2" />
13+
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.4">
1414
<PrivateAssets>all</PrivateAssets>
1515
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1616
</PackageReference>

Client.Scripting/Function/CaseValidateActions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void Email(CaseChangeActionContext context)
2626
}
2727
// net core email regex expression
2828
// https://learn.microsoft.com/en-us/dotnet/standard/base-types/how-to-verify-that-strings-are-in-valid-email-format
29-
if (!System.Text.RegularExpressions.Regex.IsMatch(sourceValue.ResolvedValue, @"^(.+)@(.+)$"))
29+
if (!System.Text.RegularExpressions.Regex.IsMatch(sourceValue.ResolvedValue, "^(.+)@(.+)$"))
3030
{
3131
AddIssue(context, "InvalidEmail", context.CaseFieldName, sourceValue.ResolvedValue);
3232
}

Client.Scripting/PayrollEngine.Client.Scripting.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@
175175
</ItemGroup>
176176

177177
<ItemGroup>
178-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.6.0" />
179-
<PackageReference Include="PayrollEngine.Client.Core" Version="0.6.0-beta.11" />
178+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" />
179+
<PackageReference Include="PayrollEngine.Client.Core" Version="0.8.0-beta.1" />
180180
</ItemGroup>
181181

182182
<!-- include xml documention files and json schemas to the nuget package -->

Client.Scripting/Runtime/IPayrunEmployeeAvailableRuntime.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
namespace PayrollEngine.Client.Scripting.Runtime;
33

44
/// <summary>Runtime for the payrun employee available function <see cref="Function.PayrunEmployeeAvailableFunction"/></summary>
5-
public interface IPayrunEmployeeAvailableRuntime : IPayrunRuntime
6-
{
7-
}
5+
public interface IPayrunEmployeeAvailableRuntime : IPayrunRuntime;

Client.Scripting/Runtime/IPayrunEmployeeEndRuntime.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
namespace PayrollEngine.Client.Scripting.Runtime;
33

44
/// <summary>Runtime for the payrun employee end function <see cref="Function.PayrunEmployeeEndFunction"/></summary>
5-
public interface IPayrunEmployeeEndRuntime : IPayrunRuntime
6-
{
7-
}
5+
public interface IPayrunEmployeeEndRuntime : IPayrunRuntime;

Client.Scripting/Runtime/IPayrunEmployeeStartRuntime.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
namespace PayrollEngine.Client.Scripting.Runtime;
33

44
/// <summary>Runtime for the payrun employee start function <see cref="Function.PayrunEmployeeStartFunction"/></summary>
5-
public interface IPayrunEmployeeStartRuntime : IPayrunRuntime
6-
{
7-
}
5+
public interface IPayrunEmployeeStartRuntime : IPayrunRuntime;

Client.Scripting/Runtime/IPayrunStartRuntime.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22
namespace PayrollEngine.Client.Scripting.Runtime;
33

44
/// <summary>Runtime for the payrun employee available function <see cref="Function.PayrunStartFunction"/></summary>
5-
public interface IPayrunStartRuntime : IPayrunRuntime
6-
{
7-
}
5+
public interface IPayrunStartRuntime : IPayrunRuntime;

Directory.Build.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project>
22

33
<PropertyGroup>
4-
<TargetFramework>net7.0</TargetFramework>
5-
<Version>0.6.0-beta.11</Version>
6-
<FileVersion>0.6.0</FileVersion>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<Version>0.8.0-beta.1</Version>
6+
<FileVersion>0.8.0</FileVersion>
77
<InformationalVersion></InformationalVersion>
88
<Authors>Jani Giannoudis</Authors>
99
<Company>Software Consulting Giannoudis</Company>

0 commit comments

Comments
 (0)