Skip to content

Commit

Permalink
Update Natasha.CSharp.csproj
Browse files Browse the repository at this point in the history
统一依赖包
  • Loading branch information
NMSAzulX committed Jul 12, 2023
1 parent fb62ba2 commit d32c69d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Natasha.CSharp/Natasha.CSharp/Natasha.CSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="6.0.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.6.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'net7.0'">
<!--<PackageReference Include="PolySharp" Version="1.*" PrivateAssets="All" />-->
<!--<ItemGroup Condition="'$(TargetFramework)' != 'net7.0'">
--><!--<PackageReference Include="PolySharp" Version="1.*" PrivateAssets="All" />--><!--
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="6.0.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0' OR '$(TargetFramework)' == 'netcoreapp3.1' OR '$(TargetFramework)' == 'net5.0' OR '$(TargetFramework)' == 'net5.1' OR '$(TargetFramework)' == 'net6.0'">
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="6.0.0" />
</ItemGroup>-->
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0' OR '$(TargetFramework)' == 'netcoreapp3.1' OR '$(TargetFramework)' == 'net5.0' OR '$(TargetFramework)' == 'net5.1' OR '$(TargetFramework)' == 'net6.0' OR '$(TargetFramework)' == 'net7.0'">
<ProjectReference Include="..\..\Natasha.Domain\Natasha.Domain.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="7.0.0" />
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="7.0.0" />
<!--<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
--><!--<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="7.0.0" />--><!--
<ProjectReference Include="..\..\Natasha.Domain\Natasha.Domain.csproj" />
</ItemGroup>
</ItemGroup>-->

<ItemGroup>
<None Include="Targets\Project.Usings.targets" Pack="true" PackagePath="build\netstandard2.0\DotNetCore.Natasha.CSharp.targets" />
Expand Down

0 comments on commit d32c69d

Please sign in to comment.