Skip to content

Commit

Permalink
Update .csproj files: BOM, formatting, package versions
Browse files Browse the repository at this point in the history
Added Byte Order Mark (BOM) to all .csproj files. Reformatted `PropertyGroup` and `ItemGroup` elements for better readability. Updated package references in `MLS.Api.csproj`, `MLS.Application.csproj`, `MLS.Domain.csproj`, `MLS.Infrastructure.csproj`, and `MLS.Persistence.csproj`. Added new package references for `System.Text.Json` in `MLS.Api.csproj` and `MLS.Persistence.csproj`.
  • Loading branch information
phamtiendungcw committed Oct 31, 2024
1 parent b7d48b8 commit 55f01ee
Show file tree
Hide file tree
Showing 5 changed files with 153 additions and 151 deletions.
71 changes: 36 additions & 35 deletions src/MLS.Api/MLS.Api.csproj
Original file line number Diff line number Diff line change
@@ -1,41 +1,42 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentValidation" Version="11.10.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.10.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.32" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
<PackageReference Include="Microsoft.AspNetCore.Identity" Version="2.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.32">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.36.0" />
<PackageReference Include="Serilog" Version="4.0.1" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.2" />
<PackageReference Include="Serilog.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="8.0.2" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.6.2" />
<PackageReference Include="System.Formats.Asn1" Version="6.0.1" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.36.0" />
<PackageReference Include="System.Security.Cryptography.Xml" Version="6.0.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="FluentValidation" Version="11.10.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.10.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.35" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
<PackageReference Include="Microsoft.AspNetCore.Identity" Version="2.2.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.35">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.36.0" />
<PackageReference Include="Serilog" Version="4.1.0" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.2" />
<PackageReference Include="Serilog.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="8.0.2" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.9.0" />
<PackageReference Include="System.Formats.Asn1" Version="6.0.1" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.36.0" />
<PackageReference Include="System.Security.Cryptography.Xml" Version="6.0.1" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\MLS.Infrastructure\MLS.Infrastructure.csproj" />
<ProjectReference Include="..\MLS.Persistence\MLS.Persistence.csproj" />
<ProjectReference Include="..\MLS.Application\MLS.Application.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MLS.Application\MLS.Application.csproj" />
<ProjectReference Include="..\MLS.Infrastructure\MLS.Infrastructure.csproj" />
<ProjectReference Include="..\MLS.Persistence\MLS.Persistence.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="logs\" />
</ItemGroup>
<ItemGroup>
<Folder Include="logs\" />
</ItemGroup>

</Project>
114 changes: 57 additions & 57 deletions src/MLS.Application/MLS.Application.csproj
Original file line number Diff line number Diff line change
@@ -1,64 +1,64 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<Compile Remove="Features\Address\**" />
<Compile Remove="Features\Discount\**" />
<Compile Remove="Features\Notification\**" />
<Compile Remove="Features\ProductColor\**" />
<Compile Remove="Features\ProductImage\**" />
<Compile Remove="Features\ProductOption\**" />
<Compile Remove="Features\ProductTag\**" />
<Compile Remove="Features\Supplier\**" />
<Compile Remove="Features\Supply\**" />
<Compile Remove="Features\Tag\**" />
<Compile Remove="Features\WishListItem\**" />
<EmbeddedResource Remove="Features\Address\**" />
<EmbeddedResource Remove="Features\Discount\**" />
<EmbeddedResource Remove="Features\Notification\**" />
<EmbeddedResource Remove="Features\ProductColor\**" />
<EmbeddedResource Remove="Features\ProductImage\**" />
<EmbeddedResource Remove="Features\ProductOption\**" />
<EmbeddedResource Remove="Features\ProductTag\**" />
<EmbeddedResource Remove="Features\Supplier\**" />
<EmbeddedResource Remove="Features\Supply\**" />
<EmbeddedResource Remove="Features\Tag\**" />
<EmbeddedResource Remove="Features\WishListItem\**" />
<None Remove="Features\Address\**" />
<None Remove="Features\Discount\**" />
<None Remove="Features\Notification\**" />
<None Remove="Features\ProductColor\**" />
<None Remove="Features\ProductImage\**" />
<None Remove="Features\ProductOption\**" />
<None Remove="Features\ProductTag\**" />
<None Remove="Features\Supplier\**" />
<None Remove="Features\Supply\**" />
<None Remove="Features\Tag\**" />
<None Remove="Features\WishListItem\**" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Features\Address\**" />
<Compile Remove="Features\Discount\**" />
<Compile Remove="Features\Notification\**" />
<Compile Remove="Features\ProductColor\**" />
<Compile Remove="Features\ProductImage\**" />
<Compile Remove="Features\ProductOption\**" />
<Compile Remove="Features\ProductTag\**" />
<Compile Remove="Features\Supplier\**" />
<Compile Remove="Features\Supply\**" />
<Compile Remove="Features\Tag\**" />
<Compile Remove="Features\WishListItem\**" />
<EmbeddedResource Remove="Features\Address\**" />
<EmbeddedResource Remove="Features\Discount\**" />
<EmbeddedResource Remove="Features\Notification\**" />
<EmbeddedResource Remove="Features\ProductColor\**" />
<EmbeddedResource Remove="Features\ProductImage\**" />
<EmbeddedResource Remove="Features\ProductOption\**" />
<EmbeddedResource Remove="Features\ProductTag\**" />
<EmbeddedResource Remove="Features\Supplier\**" />
<EmbeddedResource Remove="Features\Supply\**" />
<EmbeddedResource Remove="Features\Tag\**" />
<EmbeddedResource Remove="Features\WishListItem\**" />
<None Remove="Features\Address\**" />
<None Remove="Features\Discount\**" />
<None Remove="Features\Notification\**" />
<None Remove="Features\ProductColor\**" />
<None Remove="Features\ProductImage\**" />
<None Remove="Features\ProductOption\**" />
<None Remove="Features\ProductTag\**" />
<None Remove="Features\Supplier\**" />
<None Remove="Features\Supply\**" />
<None Remove="Features\Tag\**" />
<None Remove="Features\WishListItem\**" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\MLS.Domain\MLS.Domain.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MLS.Domain\MLS.Domain.csproj" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="AutoMapper" Version="13.0.1" />
<PackageReference Include="FluentValidation" Version="11.10.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.10.0" />
<PackageReference Include="MediatR" Version="12.3.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AutoMapper" Version="13.0.1" />
<PackageReference Include="FluentValidation" Version="11.10.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.10.0" />
<PackageReference Include="MediatR" Version="12.4.1" />
</ItemGroup>

<ItemGroup>
<Folder Include="Features\Wishlist\Commands\CreateWishListCommand\" />
<Folder Include="Features\Wishlist\Commands\DeleteWishListCommand\" />
<Folder Include="Features\Wishlist\Commands\UpdateWishListCommand\" />
<Folder Include="Features\Wishlist\Queries\GetAllWishLists\" />
<Folder Include="Features\Wishlist\Queries\GetWishListDetails\" />
</ItemGroup>
<ItemGroup>
<Folder Include="Features\Wishlist\Commands\CreateWishListCommand\" />
<Folder Include="Features\Wishlist\Commands\DeleteWishListCommand\" />
<Folder Include="Features\Wishlist\Commands\UpdateWishListCommand\" />
<Folder Include="Features\Wishlist\Queries\GetAllWishLists\" />
<Folder Include="Features\Wishlist\Queries\GetWishListDetails\" />
</ItemGroup>

</Project>
16 changes: 8 additions & 8 deletions src/MLS.Domain/MLS.Domain.csproj
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.32" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.35" />
</ItemGroup>

</Project>
34 changes: 17 additions & 17 deletions src/MLS.Infrastructure/MLS.Infrastructure.csproj
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentValidation" Version="11.10.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.10.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0.0" />
<PackageReference Include="SendGrid" Version="9.29.3" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.36.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="FluentValidation" Version="11.10.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.10.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.4" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0.0" />
<PackageReference Include="SendGrid" Version="9.29.3" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.36.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\MLS.Application\MLS.Application.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MLS.Application\MLS.Application.csproj" />
</ItemGroup>

</Project>
69 changes: 35 additions & 34 deletions src/MLS.Persistence/MLS.Persistence.csproj
Original file line number Diff line number Diff line change
@@ -1,41 +1,42 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\MLS.Application\MLS.Application.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\MLS.Application\MLS.Application.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="Migrations\" />
</ItemGroup>
<ItemGroup>
<Folder Include="Migrations\" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="FluentValidation" Version="11.10.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.10.0" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
<PackageReference Include="Microsoft.AspNetCore.Identity" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.32" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.32">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.32" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.32">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0.0" />
<PackageReference Include="Oracle.EntityFrameworkCore" Version="6.21.150" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.32" />
<PackageReference Include="System.Formats.Asn1" Version="6.0.1" />
<PackageReference Include="System.Security.Cryptography.Xml" Version="6.0.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="FluentValidation" Version="11.10.0" />
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="11.10.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.35" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
<PackageReference Include="Microsoft.AspNetCore.Identity" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.35" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.35" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.35">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.35">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0.0" />
<PackageReference Include="Oracle.EntityFrameworkCore" Version="6.21.160" />
<PackageReference Include="System.Formats.Asn1" Version="6.0.1" />
<PackageReference Include="System.Security.Cryptography.Xml" Version="6.0.1" />
<PackageReference Include="System.Text.Json" Version="6.0.10" />
</ItemGroup>

</Project>

0 comments on commit 55f01ee

Please sign in to comment.