Skip to content

Commit 8907e34

Browse files
committed
use ProjectOrPackageReference item instead of using VersionRange attribute
1 parent a409299 commit 8907e34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Smdn.Reflection.ReverseGenerating.ListApi.Core/Smdn.Reflection.ReverseGenerating.ListApi.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ SPDX-License-Identifier: MIT
3535
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="7.0.0" Condition="$(TargetFramework.StartsWith('net7.'))" />
3636
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" />
3737

38-
<ProjectReference VersionRange="[1.1.1,2.0.0)" Include="..\Smdn.Reflection.ReverseGenerating\Smdn.Reflection.ReverseGenerating.csproj" />
38+
<ProjectOrPackageReference ReferencePackageVersion="[1.1.1,2.0.0)" Include="..\Smdn.Reflection.ReverseGenerating\Smdn.Reflection.ReverseGenerating.csproj" />
3939
</ItemGroup>
4040

4141
<ItemGroup>

src/Smdn.Reflection.ReverseGenerating.ListApi/Smdn.Reflection.ReverseGenerating.ListApi.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ SPDX-License-Identifier: MIT
3434
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.21308.1" />
3535
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="6.0.0" Condition="$(TargetFramework.StartsWith('net6.')) Or $(TargetFramework.StartsWith('netcoreapp'))" />
3636

37-
<ProjectReference VersionRange="[1.1.1,2.0.0)" Include="..\Smdn.Reflection.ReverseGenerating.ListApi.Core\Smdn.Reflection.ReverseGenerating.ListApi.Core.csproj" />
37+
<ProjectOrPackageReference ReferencePackageVersion="[1.1.1,2.0.0)" Include="..\Smdn.Reflection.ReverseGenerating.ListApi.Core\Smdn.Reflection.ReverseGenerating.ListApi.Core.csproj" />
3838
</ItemGroup>
3939

4040
<ItemGroup Condition=" '$(EnableFeature_BuildProjectFile)' == 'True' ">

0 commit comments

Comments
 (0)