Skip to content

Commit

Permalink
feat:update common.targets
Browse files Browse the repository at this point in the history
  • Loading branch information
anjoy8 committed Nov 1, 2023
1 parent 0c6ea28 commit 164946d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
2 changes: 0 additions & 2 deletions Blog.Core.Api/Blog.Core.Api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@
<ItemGroup>
<PackageReference Include="log4mongo-netcore" Version="3.2.0" />
<PackageReference Include="MicroKnights.Log4NetAdoNetAppender" Version="2.2.0" />
<PackageReference Include="Microsoft.Data.Sqlite" Version="7.0.2" />
<PackageReference Include="Microsoft.Data.Sqlite.Core" Version="7.0.2" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.17.0" />
<PackageReference Include="SkyAPM.Agent.AspNetCore" Version="2.1.0" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" />
Expand Down
20 changes: 8 additions & 12 deletions Blog.Core.Serilog/Blog.Core.Serilog.csproj
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<Import Project="..\build\common.targets" />

<ItemGroup>
<PackageReference Include="Mapster" Version="7.3.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Mapster" Version="7.3.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Blog.Core.Common\Blog.Core.Common.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Blog.Core.Common\Blog.Core.Common.csproj" />
</ItemGroup>

</Project>
4 changes: 3 additions & 1 deletion build/common.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

0 comments on commit 164946d

Please sign in to comment.