Skip to content

Commit

Permalink
Merge pull request #211 from loekd/alexbat/cpm-1
Browse files Browse the repository at this point in the history
Migrated the repository to Central Package Management (CPM)
  • Loading branch information
abatishchev authored Oct 25, 2024
2 parents 7293d6e + 8b25b37 commit dd84347
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

# Install SF SDK
- name: Install SF
Expand Down
20 changes: 20 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>

<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>

<!-- ServiceFabric.Mocks.csproj -->
<ItemGroup>
<PackageVersion Include="Microsoft.ServiceFabric.Actors" Version="7.1.2493" />
</ItemGroup>

<!-- ServiceFabric.Mocks.NetCoreTests.csproj -->
<ItemGroup>
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.6.1" />
<PackageVersion Include="MSTest.TestFramework" Version="3.6.1" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions src/ServiceFabric.Mocks/ServiceFabric.Mocks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Description>ServiceFabric.Mocks contains many mocks and helper classes to facilitate and simplify unit testing of your Service Fabric Actor and Service projects.</Description>
<Copyright>2022</Copyright>
<Copyright>2024</Copyright>
<AssemblyTitle>ServiceFabric.Mocks</AssemblyTitle>
<Version>7.1.0</Version>
<Authors>Loek Duys</Authors>
Expand Down Expand Up @@ -38,7 +38,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="7.1.2493" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Description>ServiceFabric.Mocks contains Mock classes to enable unit testing of Actors and Services</Description>
<Copyright>2022</Copyright>
<Copyright>2024</Copyright>
<AssemblyTitle>ServiceFabric.Mocks.NetCoreTests</AssemblyTitle>
<VersionPrefix>1.0.0</VersionPrefix>
<Authors>Loek Duys</Authors>
Expand All @@ -25,21 +25,14 @@
<OutputTypeEx>Exe</OutputTypeEx>
<StartupObject />
<OutputType>Library</OutputType>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.ServiceFabric.Actors" Version="7.1.2493" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.6.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.6.1" />
<PackageReference Include="Microsoft.ServiceFabric.Actors" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="MSTest.TestAdapter" />
<PackageReference Include="MSTest.TestFramework" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit dd84347

Please sign in to comment.