Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup dotnet 8.0
- name: Setup dotnet 10.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- name: Build and Test
run: ./Build.ps1
shell: pwsh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup dotnet 8.0
- name: Setup dotnet 10.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- name: Build and Test
run: ./Build.ps1
shell: pwsh
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using NServiceBus.Features;

namespace NServiceBus.Extensions.IntegrationTesting
{
Expand Down Expand Up @@ -36,7 +35,6 @@ public static EndpointConfiguration ConfigureTestEndpoint(this EndpointConfigura

endpoint.PurgeOnStartup(true);
endpoint.DisableFeature<Features.Audit>();
endpoint.EnableOpenTelemetry();

endpoint.Pipeline.Register(
new AttachIncomingLogicalMessageContextToActivity(),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Authors>Jimmy Bogard</Authors>
<Copyright>Jimmy Bogard</Copyright>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
Expand All @@ -16,9 +16,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="NServiceBus" Version="[9.0.0, 10.0.0)" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
<PackageReference Include="MinVer" Version="6.0.0" PrivateAssets="All" />
<PackageReference Include="NServiceBus" Version="[10.0.0, 11.0.0)" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="10.0.102" PrivateAssets="All" />
<PackageReference Include="MinVer" Version="7.0.0" PrivateAssets="All" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ public class SagaExample : Saga<SagaData>,
protected override void ConfigureHowToFindSaga(SagaPropertyMapper<SagaData> mapper)
{
//note that mapping on a string is the worst example ever
mapper.ConfigureMapping<StartSagaMessage>(m => m.Message).ToSaga(s => s.Message);
mapper.MapSaga(saga => saga.Message)
.ToMessage<StartSagaMessage>(m => m.Message);
}

public Task Handle(StartSagaMessage message, IMessageHandlerContext context)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>

<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.15" />
<PackageReference Include="NServiceBus.Extensions.Hosting" Version="3.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="10.0.2" />
<PackageReference Include="NServiceBus.Extensions.Hosting" Version="4.0.0" />
<PackageReference Include="Shouldly" Version="4.3.0" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.0.2">
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down