Skip to content

Commit 7c4f449

Browse files
committed
feat: add directory packages props file
changes: - added `Directory.Packages.props` - modified project files closes #81
1 parent 842092e commit 7c4f449

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

BB84.Notifications.sln

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1717
.gitignore = .gitignore
1818
Directory.Build.props = Directory.Build.props
1919
Directory.Build.targets = Directory.Build.targets
20+
Directory.Packages.props = Directory.Packages.props
2021
dotnet-releaser.toml = dotnet-releaser.toml
2122
global.json = global.json
2223
LICENSE = LICENSE

Directory.Packages.props

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Project>
2+
<PropertyGroup>
3+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4+
</PropertyGroup>
5+
<ItemGroup>
6+
<PackageVersion Include="MSTest.TestAdapter" Version="3.1.1" />
7+
<PackageVersion Include="MSTest.TestFramework" Version="3.2.2" />
8+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
9+
<PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" />
10+
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
11+
</ItemGroup>
12+
</Project>
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<ItemGroup>
3-
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
3+
<PackageReference Include="System.ComponentModel.Annotations" />
44
</ItemGroup>
55
</Project>

tests/BB84.NotificationsTests/BB84.NotificationsTests.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<ItemGroup>
4-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
5-
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
6-
<PackageReference Include="MSTest.TestFramework" Version="3.2.2" />
7-
<PackageReference Include="coverlet.collector" Version="6.0.2">
4+
<PackageReference Include="Microsoft.NET.Test.Sdk" />
5+
<PackageReference Include="MSTest.TestAdapter" />
6+
<PackageReference Include="MSTest.TestFramework" />
7+
<PackageReference Include="coverlet.collector">
88
<PrivateAssets>all</PrivateAssets>
99
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1010
</PackageReference>

0 commit comments

Comments
 (0)