Skip to content

Commit dd84347

Browse files
authored
Merge pull request #211 from loekd/alexbat/cpm-1
Migrated the repository to Central Package Management (CPM)
2 parents 7293d6e + 8b25b37 commit dd84347

File tree

4 files changed

+28
-15
lines changed

4 files changed

+28
-15
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Install .NET Core
3737
uses: actions/setup-dotnet@v4
3838
with:
39-
dotnet-version: 6.0.x
39+
dotnet-version: 8.0.x
4040

4141
# Install SF SDK
4242
- name: Install SF

Directory.Packages.props

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<Project>
4+
<PropertyGroup>
5+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
6+
</PropertyGroup>
7+
8+
<!-- ServiceFabric.Mocks.csproj -->
9+
<ItemGroup>
10+
<PackageVersion Include="Microsoft.ServiceFabric.Actors" Version="7.1.2493" />
11+
</ItemGroup>
12+
13+
<!-- ServiceFabric.Mocks.NetCoreTests.csproj -->
14+
<ItemGroup>
15+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
16+
<PackageVersion Include="MSTest.TestAdapter" Version="3.6.1" />
17+
<PackageVersion Include="MSTest.TestFramework" Version="3.6.1" />
18+
</ItemGroup>
19+
20+
</Project>

src/ServiceFabric.Mocks/ServiceFabric.Mocks.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Description>ServiceFabric.Mocks contains many mocks and helper classes to facilitate and simplify unit testing of your Service Fabric Actor and Service projects.</Description>
5-
<Copyright>2022</Copyright>
5+
<Copyright>2024</Copyright>
66
<AssemblyTitle>ServiceFabric.Mocks</AssemblyTitle>
77
<Version>7.1.0</Version>
88
<Authors>Loek Duys</Authors>
@@ -38,7 +38,7 @@
3838
</ItemGroup>
3939

4040
<ItemGroup>
41-
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="7.1.2493" />
41+
<PackageReference Include="Microsoft.ServiceFabric.Actors" />
4242
</ItemGroup>
4343

4444
</Project>

test/ServiceFabric.Mocks.NetCoreTests/ServiceFabric.Mocks.NetCoreTests.csproj

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<Description>ServiceFabric.Mocks contains Mock classes to enable unit testing of Actors and Services</Description>
5-
<Copyright>2022</Copyright>
5+
<Copyright>2024</Copyright>
66
<AssemblyTitle>ServiceFabric.Mocks.NetCoreTests</AssemblyTitle>
77
<VersionPrefix>1.0.0</VersionPrefix>
88
<Authors>Loek Duys</Authors>
@@ -25,21 +25,14 @@
2525
<OutputTypeEx>Exe</OutputTypeEx>
2626
<StartupObject />
2727
<OutputType>Library</OutputType>
28-
</PropertyGroup>
29-
30-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
31-
<PlatformTarget>x64</PlatformTarget>
32-
</PropertyGroup>
33-
34-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
3528
<PlatformTarget>x64</PlatformTarget>
3629
</PropertyGroup>
3730

3831
<ItemGroup>
39-
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="7.1.2493" />
40-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
41-
<PackageReference Include="MSTest.TestAdapter" Version="3.6.1" />
42-
<PackageReference Include="MSTest.TestFramework" Version="3.6.1" />
32+
<PackageReference Include="Microsoft.ServiceFabric.Actors" />
33+
<PackageReference Include="Microsoft.NET.Test.Sdk" />
34+
<PackageReference Include="MSTest.TestAdapter" />
35+
<PackageReference Include="MSTest.TestFramework" />
4336
</ItemGroup>
4437

4538
<ItemGroup>

0 commit comments

Comments
 (0)