Skip to content

Commit

Permalink
updated nuget config
Browse files Browse the repository at this point in the history
  • Loading branch information
mizrael committed Jun 28, 2024
1 parent 6693f17 commit 28faf9c
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\EvenireDB.Common\EvenireDB.Common.csproj" />
<ProjectReference Include="..\..\src\EvenireDB.Client\EvenireDB.Client.csproj" />
</ItemGroup>

Expand Down
3 changes: 2 additions & 1 deletion src/EvenireDB.AdminUI/EvenireDB.AdminUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\EvenireDB.Client\EvenireDB.Client.csproj" />
<ProjectReference Include="..\EvenireDB.Common\EvenireDB.Common.csproj" />
<ProjectReference Include="..\EvenireDB.Client\EvenireDB.Client.csproj" />
</ItemGroup>

</Project>
31 changes: 22 additions & 9 deletions src/EvenireDB.Client/EvenireDB.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<PropertyGroup>
<PackageVersion>0.0.2</PackageVersion>
<PackageVersion>0.0.3</PackageVersion>
<IsPackable>true</IsPackable>
<Authors>davidguida</Authors>
<Product>EvenireDB</Product>
Expand Down Expand Up @@ -38,16 +38,29 @@
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<ItemGroup>
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.25.3" />
<PackageReference Include="Grpc.AspNetCore" Version="2.60.0" />
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="8.0.2" />
<PackageReference Include="Polly.Contrib.WaitAndRetry" Version="1.1.1" />
</ItemGroup>
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="8.0.2" />
<PackageReference Include="Polly.Contrib.WaitAndRetry" Version="1.1.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\EvenireDB.Common\EvenireDB.Common.csproj" PrivateAssets="All" />
<ProjectReference Include="..\EvenireDB.Grpc\EvenireDB.Grpc.csproj" PrivateAssets="All" />
</ItemGroup>

<PropertyGroup>
<TargetsForTfmSpecificBuildOutput> $(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\EvenireDB.Common\EvenireDB.Common.csproj" />
<ProjectReference Include="..\EvenireDB.Grpc\EvenireDB.Grpc.csproj" />
</ItemGroup>
<Target Name="CopyProjectReferencesToPackage" DependsOnTargets="BuildOnlySettings;ResolveReferences">
<ItemGroup>
<_ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('PrivateAssets', 'All'))"/>
</ItemGroup>

<ItemGroup>
<BuildOutputInPackage Include="@(_ReferenceCopyLocalPaths)" TargetPath="%(_ReferenceCopyLocalPaths.DestinationSubDirectory)"/>
</ItemGroup>
</Target>
</Project>
3 changes: 1 addition & 2 deletions src/EvenireDB.Common/EvenireDB.Common.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>

</Project>
3 changes: 1 addition & 2 deletions src/EvenireDB.Grpc/EvenireDB.Grpc.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<ItemGroup>
<ProjectReference Include="..\..\EvenireDB.Client\EvenireDB.Client.csproj" />
<ProjectReference Include="..\..\EvenireDB.Common\EvenireDB.Common.csproj" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 28faf9c

Please sign in to comment.