73 lines
2.8 KiB
XML
73 lines
2.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!--<PropertyGroup>
|
|
<TargetFramework>net8.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Mapster" Version="7.4.0" />
|
|
<PackageReference Include="Mapster.Core" Version="1.2.1" />
|
|
<PackageReference Include="MediatR" Version="12.2.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="8.0.2" />
|
|
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0" />
|
|
</ItemGroup>-->
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<LangVersion>10</LangVersion>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Mapster" Version="7.3.0" />
|
|
<PackageReference Include="Mapster.Core" Version="1.2.0" />
|
|
<PackageReference Include="MediatR" Version="12.1.1" />
|
|
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="5.0.0" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="5.0.0" />
|
|
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0" />
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<Target Name="Mapster">
|
|
<Exec WorkingDirectory="$(ProjectDir)" Command="dotnet build -p:CopyLocalLockFileAssemblies=true" />
|
|
<Exec WorkingDirectory="$(ProjectDir)" Command="dotnet tool restore" />
|
|
<Exec WorkingDirectory="$(ProjectDir)" Command="dotnet mapster extension -a "$(TargetDir)$(ProjectName).dll" -n HamyanEdalat.Domain.Mappers -o Mappers" />
|
|
<Exec WorkingDirectory="$(ProjectDir)" Command="dotnet mapster mapper -a "$(TargetDir)$(ProjectName).dll" -n HamyanEdalat.Domain.Mappers -o Mappers" />
|
|
</Target>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\HamyanEdalat.Common\HamyanEdalat.Common.csproj" />
|
|
</ItemGroup>
|
|
|
|
|
|
<ItemGroup>
|
|
<Using Include="HamyanEdalat.Common.Extensions" />
|
|
<Using Include="HamyanEdalat.Common.Models.Entity" />
|
|
<Using Include="HamyanEdalat.Common.Models.Mapper" />
|
|
<Using Include="HamyanEdalat.Domain.Dtos.LargDto" />
|
|
<Using Include="HamyanEdalat.Domain.Dtos.SmallDto" />
|
|
<Using Include="HamyanEdalat.Domain.Entities.Blogs" />
|
|
<Using Include="HamyanEdalat.Domain.Entities.StorageFiles" />
|
|
<Using Include="HamyanEdalat.Domain.Entities.Users" />
|
|
<Using Include="HamyanEdalat.Domain.Enums" />
|
|
<Using Include="Mapster" />
|
|
<Using Include="MediatR" />
|
|
<Using Include="Microsoft.AspNetCore.Identity" />
|
|
<Using Include="Microsoft.IdentityModel.Tokens" />
|
|
<Using Include="System.ComponentModel" />
|
|
<Using Include="System.ComponentModel.DataAnnotations" />
|
|
<Using Include="System.Diagnostics" />
|
|
<Using Include="System.Reflection" />
|
|
<Using Include="System.Runtime.CompilerServices" />
|
|
<Using Include="System.Security.Claims" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|