Skip to content

Commit

Permalink
All package update & .Net8 Upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Litavecz Marcell committed Feb 28, 2024
1 parent 1db51a0 commit 840948a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/AutSoft.Core/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ public static class ServiceCollectionExtensions
/// <returns>Expanded service collection</returns>
public static IServiceCollection AddAutSoftCommon(this IServiceCollection services)
{
return services.AddSingleton<ITimeProvider, TimeProvider>();
return services.AddSingleton<ITimeProvider, Time.TimeProvider>();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
<ItemGroup>
<PackageReference Include="EntityFrameworkCore.Scaffolding.Handlebars" PrivateAssets="All" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\AutSoft.DbScaffolding\AutSoft.DbScaffolding.csproj" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

using EntityFrameworkCore.Scaffolding.Handlebars;

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Metadata.Internal;
Expand Down
5 changes: 1 addition & 4 deletions src/AutSoft.DbScaffolding/AutSoft.DbScaffolding.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="EntityFrameworkCore.Scaffolding.Handlebars" PrivateAssets="All" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite" />
</ItemGroup>
<ItemGroup>
Expand Down
9 changes: 3 additions & 6 deletions src/AutSoft.DbScaffolding/Generators/CSharpModelGenerator.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
using AutSoft.DbScaffolding.Configuration;

using EntityFrameworkCore.Scaffolding.Handlebars;

using Microsoft.EntityFrameworkCore.Design;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Scaffolding;
using Microsoft.EntityFrameworkCore.Scaffolding.Internal;
using Microsoft.Extensions.Options;

using EntityFrameworkCore.Scaffolding.Handlebars;
using System.Linq;
using Microsoft.EntityFrameworkCore.Scaffolding;
using EntityFrameworkCore.Scaffolding.Handlebars.Internal;

namespace AutSoft.DbScaffolding.Generators;

Expand Down
2 changes: 1 addition & 1 deletion src/AutSoft.DbScaffolding/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
using AutSoft.DbScaffolding.Services;

using EntityFrameworkCore.Scaffolding.Handlebars;
using EntityFrameworkCore.Scaffolding.Handlebars.Internal;

using HandlebarsDotNet;

using Microsoft.EntityFrameworkCore.Design;
using Microsoft.EntityFrameworkCore.Scaffolding;
using Microsoft.EntityFrameworkCore.Scaffolding.Internal;
using Microsoft.Extensions.DependencyInjection;

using System;
Expand Down

0 comments on commit 840948a

Please sign in to comment.