chore: nuget adjustments for packet ID
Some checks failed
Release Rai.PacketMediator / preprocess (push) Successful in 3s
Release Rai.PacketMediator / build (push) Failing after 18s
Release Rai.PacketMediator / publish (push) Has been skipped
Release Rai.PacketMediator / generate-licences (push) Has been skipped

This commit is contained in:
Timothy Schenk 2024-04-04 16:32:04 +02:00
parent 3b7cf431fa
commit 4dc8fbe845
Signed by: rainote
SSH key fingerprint: SHA256:pnkNSDwpAnaip00xaZlVFHKKsS7T8UtOomMzvs0yITE
13 changed files with 20 additions and 13 deletions

View file

@ -29,7 +29,7 @@ jobs:
run: dotnet restore
- name: Build
run: |
dotnet build Rai.PacketMediator.csproj -c Release
dotnet build RaiNote.PacketMediator.csproj -c Release
publish:
needs: [ build ]
@ -50,7 +50,7 @@ jobs:
shell: bash
- name: Pack nugets
run: |
dotnet build Rai.PacketMediator.csproj -c Release -p:PackageVersion=${{env.VERSION}}
dotnet build RaiNote.PacketMediator.csproj -c Release -p:PackageVersion=${{env.VERSION}}
dotnet pack -c Release -p:PackageVersion=${{env.VERSION}} --output .
- name: Push to NuGet
run: |

View file

@ -8,7 +8,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Rai.PacketMediator\Rai.PacketMediator.csproj" />
<ProjectReference Include="..\RaiNote.PacketMediator\RaiNote.PacketMediator.csproj" />
</ItemGroup>
</Project>

View file

@ -28,7 +28,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Rai.PacketMediator\Rai.PacketMediator.csproj" />
<ProjectReference Include="..\RaiNote.PacketMediator\RaiNote.PacketMediator.csproj" />
</ItemGroup>
</Project>

View file

@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rai.PacketMediator", "Rai.PacketMediator\Rai.PacketMediator.csproj", "{13243A92-DC1E-4DBF-8E2C-13CE9ABFEAD3}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RaiNote.PacketMediator", "RaiNote.PacketMediator\RaiNote.PacketMediator.csproj", "{13243A92-DC1E-4DBF-8E2C-13CE9ABFEAD3}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PacketMediator.Samples", "PacketMediator.Samples\PacketMediator.Samples.csproj", "{C20254E6-0C15-43A4-9C4A-1D0B547F7983}"
EndProject

View file

@ -2,7 +2,7 @@
using JetBrains.Annotations;
namespace Rai.PacketMediator;
namespace RaiNote.PacketMediator;
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
public interface IBidirectionalPacket : IOutgoingPacket, IIncomingPacket;

View file

@ -2,7 +2,7 @@
using JetBrains.Annotations;
namespace Rai.PacketMediator;
namespace RaiNote.PacketMediator;
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
public interface IIncomingPacket : IPacket

View file

@ -2,7 +2,7 @@
using JetBrains.Annotations;
namespace Rai.PacketMediator;
namespace RaiNote.PacketMediator;
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
public interface IOutgoingPacket : IPacket

View file

@ -1,5 +1,5 @@
// Licensed to Timothy Schenk under the Apache 2.0 License.
namespace Rai.PacketMediator;
namespace RaiNote.PacketMediator;
public interface IPacket;

View file

@ -3,7 +3,7 @@
using System.Diagnostics;
using JetBrains.Annotations;
namespace Rai.PacketMediator;
namespace RaiNote.PacketMediator;
[UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
public interface IPacketHandler<in TIncomingPacket, in TSession> : IPacketHandler<TSession>

View file

@ -9,7 +9,7 @@ using DotNext.Linq.Expressions;
using DotNext.Metaprogramming;
using Microsoft.Extensions.DependencyInjection;
namespace Rai.PacketMediator;
namespace RaiNote.PacketMediator;
public class PacketDistributor<TPacketIdEnum, TSession> where TPacketIdEnum : Enum
{

View file

@ -3,7 +3,7 @@
using System.Reflection;
using Microsoft.Extensions.Hosting;
namespace Rai.PacketMediator;
namespace RaiNote.PacketMediator;
public class PacketDistributorService<TPacketIdEnum, TSession> : IHostedService
where TPacketIdEnum : Enum

View file

@ -1,6 +1,6 @@
// Licensed to Timothy Schenk under the Apache 2.0 License.
namespace Rai.PacketMediator;
namespace RaiNote.PacketMediator;
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public abstract class PacketIdAttribute<TPacketIdEnum> : Attribute where TPacketIdEnum : Enum

View file

@ -10,6 +10,13 @@
<RepositoryUrl>https://forge.rainote.dev/rainote/PacketMediator</RepositoryUrl>
<RepositoryType>GIT</RepositoryType>
<Version>$(PackageVersion)</Version>
<Authors>Timothy (RaiNote) Schenk</Authors>
<AssemblyName>RaiNote.PacketMediator</AssemblyName>
<RootNamespace>RaiNote.PacketMediator</RootNamespace>
<PackageId>RaiNote.PacketMediator</PackageId>
<Title>Packet Mediator</Title>
<Description>A mediator specifically for packet handling when dispatching to respective packet handlers.</Description>
<Product>RaiNote.PacketMediator</Product>
</PropertyGroup>
<ItemGroup>