Skip to content

Commit

Permalink
Directory.Packages.props
Browse files Browse the repository at this point in the history
  • Loading branch information
max-ieremenko committed Apr 13, 2024
1 parent 937e927 commit 4e8259b
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 17 deletions.
10 changes: 2 additions & 8 deletions sources/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="StyleCop.Analyzers.Unstable" Version="1.2.0.435">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="StyleCop.Analyzers.Unstable" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
</ItemGroup>

</Project>
21 changes: 21 additions & 0 deletions sources/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageVersionOverrideEnabled>false</CentralPackageVersionOverrideEnabled>
</PropertyGroup>

<ItemGroup>
<PackageVersion Include="PowerShellStandard.Library" Version="5.1.1" />

<PackageVersion Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.3" />

<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
<PackageVersion Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageVersion Include="Moq" Version="4.18.2" />
<PackageVersion Include="NUnit" Version="3.13.3" />
<PackageVersion Include="Shouldly" Version="4.1.0" />

<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.1.1" />
<PackageVersion Include="StyleCop.Analyzers.Unstable" Version="1.2.0.435" />
</ItemGroup>
</Project>
12 changes: 5 additions & 7 deletions sources/Test.csproj.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="Moq" Version="4.18.2" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="Shouldly" Version="4.1.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="NUnit3TestAdapter" PrivateAssets="All" />
<PackageReference Include="Moq" />
<PackageReference Include="NUnit" />
<PackageReference Include="Shouldly" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion sources/ZipAsFolder.Shared/ZipAsFolder.Shared.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.5.3" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion sources/ZipAsFolder/ZipAsFolder.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<PackageReference Include="PowerShellStandard.Library" Version="5.1.1" />
<PackageReference Include="PowerShellStandard.Library" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 4e8259b

Please sign in to comment.