Skip to content

Commit

Permalink
packages have been updated and the project target framework has been …
Browse files Browse the repository at this point in the history
…set to .net 8
  • Loading branch information
byerlikaya committed Feb 27, 2024
1 parent 60ad41c commit 46a92f1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 30 deletions.
4 changes: 2 additions & 2 deletions samples/Sample.Api/Sample.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="8.0.2" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Include="MediatR" Version="12.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.2" />
</ItemGroup>

<ItemGroup>
Expand Down
39 changes: 11 additions & 28 deletions src/EntityGuardian/EntityGuardian.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.1;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<LangVersion>preview</LangVersion>
</PropertyGroup>

<PropertyGroup>
<PackageId>EntityGuardian</PackageId>
<Version>1.0.0.1</Version>
<Version>2.0.0</Version>
<Authors>Barış Yerlikaya</Authors>
<Company>Barış Yerlikaya</Company>
<Product>EntityGuardian</Product>
Expand All @@ -26,27 +26,6 @@
<EmbeddedResource Include="Dashboard/wwwroot/**/*" />
</ItemGroup>


<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.1' OR '$(TargetFramework)' == 'netcoreapp3.1' OR '$(TargetFramework)' == 'net5.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.17" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.17" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.1.34" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' OR '$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.15" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.15" />
</ItemGroup>

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

<ItemGroup Condition=" '$(TargetFramework)' != 'netstandard2.1' ">
<FrameworkReference Include="Microsoft.AspNetCore.App" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\LICENSE">
<Pack>True</Pack>
Expand All @@ -60,12 +39,16 @@

<ItemGroup>
<PackageReference Include="Castle.Core" Version="5.1.1" />
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="8.0.1" />
<PackageReference Include="SmartOrderBy" Version="1.1.0" />
<PackageReference Include="SmartWhere" Version="2.2.0.1" />
<PackageReference Include="System.Text.Json" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.1.1" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="8.0.2" />
<PackageReference Include="SmartOrderBy" Version="1.1.0.1" />
<PackageReference Include="SmartWhere" Version="2.2.0.2" />
<PackageReference Include="System.Text.Json" Version="8.0.2" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="[2.1.1]"/>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.2" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="[2.1.34]" />
</ItemGroup>

</Project>

0 comments on commit 46a92f1

Please sign in to comment.