The project file `DigitalData.Core.Infrastructure.csproj` has been modified to include conditional `PackageReference` entries for different target frameworks. The previous reference to `Microsoft.EntityFrameworkCore` version `7.0.16` has been replaced with: - version `7.0.20` for `net7.0` - version `8.0.15` for `net8.0` - version `9.0.4` for `net9.0` This change ensures the project uses the appropriate version of Entity Framework Core based on the target framework.
52 lines
2.1 KiB
XML
52 lines
2.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net7.0;net8.0;net9.0</TargetFrameworks>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
|
|
<PackageId>DigitalData.Core.Infrastructure</PackageId>
|
|
<Version>2.0.0.0</Version>
|
|
<Authors>Digital Data GmbH</Authors>
|
|
<Company>Digital Data GmbH</Company>
|
|
<Product>DigitalData.Core.Infrastructure</Product>
|
|
<Description>This package provides implementations for data access and other low-level services within the DigitalData.Core.Abstractions library. It includes generic CRUD operations using Entity Framework Core, database context management, and other infrastructure-related functionalities, adhering to Clean Architecture principles to ensure separation of concerns and maintainability.</Description>
|
|
<Copyright>Copyright 2024</Copyright>
|
|
<PackageIcon>core_icon.png</PackageIcon>
|
|
<RepositoryUrl>http://git.dd:3000/AppStd/WebCoreModules.git</RepositoryUrl>
|
|
<RepositoryType>digital data core abstractions clean architecture</RepositoryType>
|
|
<PackageTags>digital data core infrastructure clean architecture</PackageTags>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="..\..\nuget-package-icons\core_icon.png">
|
|
<Pack>True</Pack>
|
|
<PackagePath>\</PackagePath>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.20" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.15" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="9.0.4" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\DigitalData.Core.Abstractions\DigitalData.Core.Abstractions.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Update="Assets\icon.png">
|
|
<PackagePath>\</PackagePath>
|
|
<Pack>True</Pack>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
</Project>
|