Skip to content

Commit

Permalink
* disabled parallel tests. at this point CI hates them.
Browse files Browse the repository at this point in the history
* code format on samples project files.
  • Loading branch information
RagingKore committed Nov 7, 2023
1 parent 3228da0 commit 17bcbf4
Show file tree
Hide file tree
Showing 25 changed files with 624 additions and 226 deletions.
2 changes: 1 addition & 1 deletion samples/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
<ImplicitUsings>true</ImplicitUsings>
<OutputType>Exe</OutputType>
</PropertyGroup>
</Project>
</Project>
405 changes: 405 additions & 0 deletions samples/Samples.sln.DotSettings

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions samples/appending-events/appending-events.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>appending_events</RootNamespace>
</PropertyGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
</ItemGroup>

</Project>
22 changes: 10 additions & 12 deletions samples/connecting-to-a-cluster/connecting-to-a-cluster.csproj
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>connecting_to_a_cluster</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>connecting_to_a_cluster</RootNamespace>
</PropertyGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj"/>
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj"/>
</ItemGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
</PropertyGroup>

<PropertyGroup>
<OutputType>Exe</OutputType>
</PropertyGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
</ItemGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<RootNamespace>persistent_subscriptions</RootNamespace>
</PropertyGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<ProjectReference Include="..\..\src\EventStore.Client.PersistentSubscriptions\EventStore.Client.PersistentSubscriptions.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
<!-- Use NuGet instead of ProjectReferences -->
<ProjectReference Include="..\..\src\EventStore.Client.PersistentSubscriptions\EventStore.Client.PersistentSubscriptions.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
</ItemGroup>

</Project>
16 changes: 7 additions & 9 deletions samples/projection-management/projection-management.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<RootNamespace>projection_management</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<RootNamespace>projection_management</RootNamespace>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\EventStore.Client.ProjectionManagement\EventStore.Client.ProjectionManagement.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\EventStore.Client.ProjectionManagement\EventStore.Client.ProjectionManagement.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
</ItemGroup>
</Project>
20 changes: 9 additions & 11 deletions samples/quick-start/quick-start.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<RootNamespace>quick_start</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<RootNamespace>quick_start</RootNamespace>
</PropertyGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
</ItemGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
</ItemGroup>
</Project>
10 changes: 4 additions & 6 deletions samples/reading-events/reading-events.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>reading_events</RootNamespace>
</PropertyGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
</ItemGroup>

</Project>
</Project>
9 changes: 4 additions & 5 deletions samples/secure-with-tls/secure-with-tls.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>secure_with_tls</RootNamespace>
</PropertyGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
</ItemGroup>
</Project>
</Project>
10 changes: 5 additions & 5 deletions samples/server-side-filtering/server-side-filtering.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
</PropertyGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
</ItemGroup>

</Project>
</Project>
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<RootNamespace>setting_up_dependency_injection</RootNamespace>
</PropertyGroup>

<PropertyGroup>
<RootNamespace>setting_up_dependency_injection</RootNamespace>
</PropertyGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
</ItemGroup>

</Project>
<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
</ItemGroup>
</Project>
12 changes: 5 additions & 7 deletions samples/subscribing-to-streams/subscribing-to-streams.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>subscribing_to_streams</RootNamespace>
</PropertyGroup>

<ItemGroup>
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
<!-- Use NuGet instead of ProjectReferences -->
<!-- <PackageReference Include="EventStore.Client.Grpc.Streams" Version="20.10.0" /> -->
<ProjectReference Include="..\..\src\EventStore.Client.Streams\EventStore.Client.Streams.csproj" />
<ProjectReference Include="..\..\src\EventStore.Client\EventStore.Client.csproj" />
</ItemGroup>

</Project>
</Project>
112 changes: 56 additions & 56 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,64 +1,64 @@
<Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"/>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
<PropertyGroup>
<RootNamespace>EventStore.Client</RootNamespace>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<DebugType Condition=" '$(Configuration)' == 'Debug' ">full</DebugType>
<DebugType Condition=" '$(Configuration)' == 'Release' ">pdbonly</DebugType>
</PropertyGroup>
<PropertyGroup Condition="$(MSBuildProjectName) != 'EventStore.Client'">
<ESPackageIdSuffix>$(MSBuildProjectName.Remove(0,18))</ESPackageIdSuffix>
<ESProto>$(ESPackageIdSuffix.ToLower()).proto</ESProto>
<ESProtoPath>../EventStore.Client.Common/protos/$(ESProto)</ESProtoPath>
<PackageId>EventStore.Client.Grpc.$(ESPackageIdSuffix)</PackageId>
</PropertyGroup>
<ItemGroup Condition="$(MSBuildProjectName) != 'EventStore.Client'">
<ProjectReference Include="..\EventStore.Client\EventStore.Client.csproj"/>
<Protobuf
Access="internal"
Include="$(ESProtoPath)"
GrpcServices="Client"
Link="protos/$(ESProto)"/>
</ItemGroup>
<PropertyGroup>
<PackageIcon>ouro.png</PackageIcon>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageProjectUrl>https://eventstore.com</PackageProjectUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageReleaseNotes>https://eventstore.com/blog/</PackageReleaseNotes>
<PackageTags>eventstore client grpc</PackageTags>
<Authors>Event Store Ltd</Authors>
<Copyright>Copyright 2012-2020 Event Store Ltd</Copyright>
<MinVerTagPrefix>v</MinVerTagPrefix>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\LICENSE.md" Pack="true" PackagePath="\"/>
<None Include="..\..\ouro.png" Pack="true" PackagePath="\"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="4.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Grpc.Tools" Version="$(GrpcToolsPackageVersion)">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="MinVer" Version="3.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<Compile Include="../EventStore.Client.Common/**/*.cs" Link="Common\%(RecursiveDir)/%(FileName)%(Extension)"/>
</ItemGroup>
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(ProjectName).Tests</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(ProjectName).Tests.Common</_Parameter1>
</AssemblyAttribute>

<PropertyGroup Condition="$(MSBuildProjectName) != 'EventStore.Client'">
<ESPackageIdSuffix>$(MSBuildProjectName.Remove(0,18))</ESPackageIdSuffix>
<ESProto>$(ESPackageIdSuffix.ToLower()).proto</ESProto>
<ESProtoPath>../EventStore.Client.Common/protos/$(ESProto)</ESProtoPath>
<PackageId>EventStore.Client.Grpc.$(ESPackageIdSuffix)</PackageId>
</PropertyGroup>

<ItemGroup Condition="$(MSBuildProjectName) != 'EventStore.Client'">
<ProjectReference Include="..\EventStore.Client\EventStore.Client.csproj" />
<Protobuf Access="internal" Include="$(ESProtoPath)" GrpcServices="Client" Link="protos/$(ESProto)" />
</ItemGroup>

<PropertyGroup>
<PackageIcon>ouro.png</PackageIcon>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageProjectUrl>https://eventstore.com</PackageProjectUrl>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageReleaseNotes>https://eventstore.com/blog/</PackageReleaseNotes>
<PackageTags>eventstore client grpc</PackageTags>
<Authors>Event Store Ltd</Authors>
<Copyright>Copyright 2012-2020 Event Store Ltd</Copyright>
<MinVerTagPrefix>v</MinVerTagPrefix>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\LICENSE.md" Pack="true" PackagePath="\" />
<None Include="..\..\ouro.png" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="ConfigureAwaitChecker.Analyzer" Version="4.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Grpc.Tools" Version="$(GrpcToolsPackageVersion)">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="MinVer" Version="3.0.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<Compile Include="../EventStore.Client.Common/**/*.cs" Link="Common\%(RecursiveDir)/%(FileName)%(Extension)" />
</ItemGroup>

<ItemGroup>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(ProjectName).Tests</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>$(ProjectName).Tests.Common</_Parameter1>
</AssemblyAttribute>
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
<_Parameter1>EventStore.Client</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
</ItemGroup>
</Project>
Loading

0 comments on commit 17bcbf4

Please sign in to comment.