Skip to content

Commit e978dd4

Browse files
Merge pull request #318 from TransactionProcessing/task/#316_use_latest_es_clients
Split Shared.Results to a web specific nuget
2 parents e460ba1 + 8cd847c commit e978dd4

7 files changed

Lines changed: 28 additions & 3 deletions

File tree

.github/workflows/createrelease.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,6 @@ jobs:
5656
5757
dotnet pack "Shared.Results\Shared.Results.csproj" /p:PackageVersion=${{ steps.get_version.outputs.VERSION }} --output Nugets
5858
dotnet nuget push Nugets/Shared.Results.${{ steps.get_version.outputs.VERSION }}.nupkg --api-key ${{ secrets.PRIVATEFEED_APIKEY }} --source ${{ secrets.PRIVATEFEED_URL }}
59+
60+
dotnet pack "Shared.Results.Web\Shared.Results.Web.csproj" /p:PackageVersion=${{ steps.get_version.outputs.VERSION }} --output Nugets
61+
dotnet nuget push Nugets/Shared.Results.Web.${{ steps.get_version.outputs.VERSION }}.nupkg --api-key ${{ secrets.PRIVATEFEED_APIKEY }} --source ${{ secrets.PRIVATEFEED_URL }}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Microsoft.AspNetCore.Mvc;
44
using SimpleResults;
55

6-
namespace Shared.Results;
6+
namespace Shared.Results.Web;
77

88
public static class ResultExtensions
99
{
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<PackageReference Include="SimpleResults" Version="3.0.1" />
11+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
12+
</ItemGroup>
13+
14+
</Project>

Shared.Results/Shared.Results.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
<ItemGroup>
1010
<PackageReference Include="SimpleResults" Version="3.0.1" />
11-
<FrameworkReference Include="Microsoft.AspNetCore.App" />
12-
</ItemGroup>
11+
</ItemGroup>
1312

1413
</Project>

Shared.Tests/ResultExtensionsTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using Microsoft.AspNetCore.Mvc;
33
using Shared.Results;
4+
using Shared.Results.Web;
45
using Shouldly;
56
using SimpleResults;
67
using Xunit;

Shared.Tests/Shared.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<ItemGroup>
3030
<ProjectReference Include="..\ClientProxyBase\ClientProxyBase.csproj" />
3131
<ProjectReference Include="..\Shared.EventStore\Shared.EventStore.csproj" />
32+
<ProjectReference Include="..\Shared.Results.Web\Shared.Results.Web.csproj" />
3233
<ProjectReference Include="..\Shared.Results\Shared.Results.csproj" />
3334
<ProjectReference Include="..\Shared\Shared.csproj" />
3435
</ItemGroup>

Shared.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shared.IntegrationTesting.U
3838
EndProject
3939
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shared.Results", "Shared.Results\Shared.Results.csproj", "{EA875346-AE13-41F2-AFF0-93F470EA536E}"
4040
EndProject
41+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shared.Results.Web", "Shared.Results.Web\Shared.Results.Web.csproj", "{5A8811D2-46B8-4E92-E6DF-B482185EA211}"
42+
EndProject
4143
Global
4244
GlobalSection(SolutionConfigurationPlatforms) = preSolution
4345
Debug|Any CPU = Debug|Any CPU
@@ -92,6 +94,10 @@ Global
9294
{EA875346-AE13-41F2-AFF0-93F470EA536E}.Debug|Any CPU.Build.0 = Debug|Any CPU
9395
{EA875346-AE13-41F2-AFF0-93F470EA536E}.Release|Any CPU.ActiveCfg = Release|Any CPU
9496
{EA875346-AE13-41F2-AFF0-93F470EA536E}.Release|Any CPU.Build.0 = Release|Any CPU
97+
{5A8811D2-46B8-4E92-E6DF-B482185EA211}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
98+
{5A8811D2-46B8-4E92-E6DF-B482185EA211}.Debug|Any CPU.Build.0 = Debug|Any CPU
99+
{5A8811D2-46B8-4E92-E6DF-B482185EA211}.Release|Any CPU.ActiveCfg = Release|Any CPU
100+
{5A8811D2-46B8-4E92-E6DF-B482185EA211}.Release|Any CPU.Build.0 = Release|Any CPU
95101
EndGlobalSection
96102
GlobalSection(SolutionProperties) = preSolution
97103
HideSolutionNode = FALSE
@@ -109,6 +115,7 @@ Global
109115
{A7909DC1-12F9-42F8-B665-E8A2C63B1481} = {C641A0E0-A26E-4B16-89E2-DD6E33509C6E}
110116
{5E23CBBB-8484-4F7F-81D9-308957783695} = {C641A0E0-A26E-4B16-89E2-DD6E33509C6E}
111117
{EA875346-AE13-41F2-AFF0-93F470EA536E} = {1B484B1C-212E-4CF5-B666-213E9546E11C}
118+
{5A8811D2-46B8-4E92-E6DF-B482185EA211} = {1B484B1C-212E-4CF5-B666-213E9546E11C}
112119
EndGlobalSection
113120
GlobalSection(ExtensibilityGlobals) = postSolution
114121
SolutionGuid = {34032CEC-68CD-41EA-8707-D450689AEA46}

0 commit comments

Comments
 (0)