Skip to content

Commit

Permalink
Fixed package references. (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgernand authored Nov 16, 2024
1 parent 7b4eb8a commit 00d16be
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 64 deletions.
2 changes: 1 addition & 1 deletion samples/Sample.API/Sample.API.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Fluxera.StronglyTypedId.SystemTextJson" Version="9.0.0" />
<PackageReference Include="Fluxera.StronglyTypedId.SystemTextJson" Version="9.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion samples/Sample.Domain/Sample.Domain.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<ItemGroup>
<PackageReference Include="Fluxera.ComponentModel.Annotations" Version="9.0.0" />
<PackageReference Include="Fluxera.StronglyTypedId" Version="9.0.0" />
<PackageReference Include="Fluxera.StronglyTypedId" Version="9.0.1" />
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0" />
<PackageReference Include="Fluxera.Utilities" Version="9.0.0" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,16 @@

<ItemGroup>
<PackageReference Include="Fluxera.Guards" Version="9.0.0" />
<PackageReference Include="Fluxera.Entity" Version="9.0.0" />
<PackageReference Include="Fluxera.Extensions.Validation.Abstractions" Version="9.0.1" />
<PackageReference Include="Fluxera.Entity" Version="9.0.1" />
<PackageReference Include="Fluxera.Extensions.Validation.Abstractions" Version="9.0.2" />
<PackageReference Include="Fluxera.Linq.Expressions" Version="9.0.0" />
<PackageReference Include="Fluxera.Utilities" Version="9.0.0" />
<PackageReference Include="Fluxera.ValueObject" Version="9.0.0" />
<PackageReference Include="Fluxera.ValueObject" Version="9.0.1" />
<PackageReference Include="GitVersion.MsBuild" Version="6.0.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="[8.0.2]" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="9.0.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,15 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Fluxera.Enumeration.EntityFrameworkCore" Version="9.0.0" />
<PackageReference Include="Fluxera.Enumeration.EntityFrameworkCore" Version="9.0.1" />
<PackageReference Include="Fluxera.Guards" Version="9.0.0" />
<PackageReference Include="Fluxera.StronglyTypedId.EntityFrameworkCore" Version="9.0.0" />
<PackageReference Include="Fluxera.ValueObject.EntityFrameworkCore" Version="9.0.0" />
<PackageReference Include="Fluxera.StronglyTypedId.EntityFrameworkCore" Version="9.0.1" />
<PackageReference Include="Fluxera.ValueObject.EntityFrameworkCore" Version="9.0.1" />
<PackageReference Include="GitVersion.MsBuild" Version="6.0.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="[8.0.11]" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.0" />
</ItemGroup>

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

<ItemGroup>
<PackageReference Include="Fluxera.Enumeration.LiteDB" Version="9.0.0" />
<PackageReference Include="Fluxera.Enumeration.LiteDB" Version="9.0.1" />
<PackageReference Include="Fluxera.Spatial.LiteDB" Version="9.0.0" />
<PackageReference Include="Fluxera.StronglyTypedId.LiteDB" Version="9.0.0" />
<PackageReference Include="Fluxera.ValueObject.LiteDB" Version="9.0.0" />
<PackageReference Include="Fluxera.StronglyTypedId.LiteDB" Version="9.0.1" />
<PackageReference Include="Fluxera.ValueObject.LiteDB" Version="9.0.1" />
<PackageReference Include="GitVersion.MsBuild" Version="6.0.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@

<ItemGroup>
<PackageReference Include="Fluxera.ComponentModel.Annotations" Version="9.0.0" />
<PackageReference Include="Fluxera.Enumeration.MongoDB" Version="9.0.0" />
<PackageReference Include="Fluxera.Enumeration.MongoDB" Version="9.0.1" />
<PackageReference Include="Fluxera.Spatial.MongoDB" Version="9.0.0" />
<PackageReference Include="Fluxera.StronglyTypedId.MongoDB" Version="9.0.0" />
<PackageReference Include="Fluxera.ValueObject.MongoDB" Version="9.0.0" />
<PackageReference Include="Fluxera.StronglyTypedId.MongoDB" Version="9.0.1" />
<PackageReference Include="Fluxera.ValueObject.MongoDB" Version="9.0.1" />
<PackageReference Include="GitVersion.MsBuild" Version="6.0.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0" PrivateAssets="All" />
<PackageReference Include="MadEyeMatt.MongoDB.DbContext" Version="9.0.1" />
<PackageReference Include="MadEyeMatt.MongoDB.DbContext" Version="9.0.2" />
<PackageReference Include="MongoDB.Driver" Version="3.0.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<ItemGroup>
<PackageReference Include="AutoMapper" Version="13.0.1" />
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="7.0.2" />
<PackageReference Include="Fluxera.Queries" Version="9.0.0" />
<PackageReference Include="Fluxera.Queries" Version="9.0.1" />
<PackageReference Include="GitVersion.MsBuild" Version="6.0.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
25 changes: 9 additions & 16 deletions src/Fluxera.Repository/Fluxera.Repository.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,22 @@

<ItemGroup>
<PackageReference Include="Fluxera.ComponentModel.Annotations" Version="9.0.0" />
<PackageReference Include="Fluxera.DomainEvents.MediatR" Version="9.0.0" />
<PackageReference Include="Fluxera.Entity" Version="9.0.0" />
<PackageReference Include="Fluxera.Enumeration" Version="9.0.0" />
<PackageReference Include="Fluxera.Extensions.Caching" Version="9.0.1" />
<PackageReference Include="Fluxera.Extensions.Common" Version="9.0.1" />
<PackageReference Include="Fluxera.Extensions.DependencyInjection" Version="9.0.1" />
<PackageReference Include="Fluxera.Extensions.Validation" Version="9.0.1" />
<PackageReference Include="Fluxera.DomainEvents.MediatR" Version="9.0.1" />
<PackageReference Include="Fluxera.Entity" Version="9.0.1" />
<PackageReference Include="Fluxera.Enumeration" Version="9.0.1" />
<PackageReference Include="Fluxera.Extensions.Caching" Version="9.0.2" />
<PackageReference Include="Fluxera.Extensions.Common" Version="9.0.2" />
<PackageReference Include="Fluxera.Extensions.DependencyInjection" Version="9.0.2" />
<PackageReference Include="Fluxera.Extensions.Validation" Version="9.0.2" />
<PackageReference Include="Fluxera.Spatial" Version="9.0.0" />
<PackageReference Include="Fluxera.StronglyTypedId" Version="9.0.0" />
<PackageReference Include="Fluxera.ValueObject" Version="9.0.0" />
<PackageReference Include="Fluxera.StronglyTypedId" Version="9.0.1" />
<PackageReference Include="Fluxera.ValueObject" Version="9.0.1" />
<PackageReference Include="GitVersion.MsBuild" Version="6.0.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="[8.0.1]" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="9.0.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,18 @@
</PackageReference>
<PackageReference Include="Testcontainers" Version="4.0.0" />
<PackageReference Include="Testcontainers.MsSql" Version="4.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<!--<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="[8.0.11]">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand All @@ -41,7 +50,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</ItemGroup>-->

<ItemGroup>
<ProjectReference Include="..\..\src\Fluxera.Repository.EntityFrameworkCore\Fluxera.Repository.EntityFrameworkCore.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.Extensions.Logging;

[PublicAPI]
public sealed class RepositoryDbContext : DbContext
Expand Down Expand Up @@ -43,12 +42,10 @@ protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
? GlobalFixture.ConnectionString
: GlobalFixture.ConnectionString.Replace($"Database={GlobalFixture.Database}", $"Database={this.databaseName}"));

#if NET9_0
optionsBuilder.ConfigureWarnings(builder =>
{
builder.Ignore(RelationalEventId.PendingModelChangesWarning);
});
#endif
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,14 @@
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.0" />
</ItemGroup>

<ItemGroup>
<InternalsVisibleTo Include="Fluxera.Repository.UnitTests" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="[8.0.1]" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="[8.0.1]" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="Microsoft.Extensions.Logging.Configuration" Version="9.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\Fluxera.Repository.Abstractions\Fluxera.Repository.Abstractions.csproj" />
<ProjectReference Include="..\..\src\Fluxera.Repository\Fluxera.Repository.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
<PackageReference Include="AutoMapper" Version="13.0.1" />
<PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="7.0.2" />
<PackageReference Include="Bogus" Version="35.6.1" />
<PackageReference Include="Extensions.Logging.Mock" Version="9.0.1" />
<PackageReference Include="Extensions.Logging.Mock" Version="9.0.2" />
<PackageReference Include="FluentAssertions" Version="6.12.2" />
<PackageReference Include="Fluxera.Extensions.Validation.DataAnnotations" Version="8.1.0" />
<PackageReference Include="Fluxera.Extensions.Validation.FluentValidation" Version="8.1.0" />
<PackageReference Include="Fluxera.Guards" Version="9.0.0" />
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
Expand Down

0 comments on commit 00d16be

Please sign in to comment.