Skip to content

Commit

Permalink
chore: Add support for central package management (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDave1999 authored Feb 1, 2024
1 parent 8dbcffe commit 6d836a9
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 15 deletions.
20 changes: 20 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Senparc.Weixin.MP" Version="16.7.4.1" />
<PackageVersion Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.0.15" />
<PackageVersion Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.0.15" />
<PackageVersion Include="Microsoft.Extensions.FileProviders.Physical" Version="7.0.0" />
<PackageVersion Include="Microsoft.Bot.Builder" Version="4.20.0" />
<PackageVersion Include="Microsoft.Bot.Schema" Version="4.20.0" />
<PackageVersion Include="Microsoft.Bot.Builder.Dialogs" Version="4.20.0" />
<PackageVersion Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.20.0" />
<PackageVersion Include="Microsoft.AspNetCore.TestHost" Version="7.0.15" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageVersion Include="xunit" Version="2.4.0" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageVersion Include="coverlet.collector" Version="1.0.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="7.*" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="xunit" Version="2.4.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
<PackageReference Include="coverlet.collector" Version="1.0.1" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="xunit" />
<PackageReference Include="xunit.runner.visualstudio" />
<PackageReference Include="coverlet.collector" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions Itminus.InDirectLine.Core/Itminus.InDirectLine.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="7.*" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Physical" Version="7.*" />
<PackageReference Include="Microsoft.Bot.Builder" Version="4.*" />
<PackageReference Include="Microsoft.Bot.Schema" Version="4.*" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Physical" />
<PackageReference Include="Microsoft.Bot.Builder" />
<PackageReference Include="Microsoft.Bot.Schema" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" Version="4.*" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" Version="4.*" />
<PackageReference Include="Microsoft.Bot.Builder.Dialogs" />
<PackageReference Include="Microsoft.Bot.Builder.Integration.AspNet.Core" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Senparc.Weixin.MP" Version="16.7.4.1" />
<PackageReference Include="Senparc.Weixin.MP" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 1 addition & 3 deletions Itminus.InDirectLine.Web/Itminus.InDirectLine.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
<AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel>
</PropertyGroup>


<ItemGroup>
<ProjectReference Include="..\Itminus.InDirectLine.Core\Itminus.InDirectLine.Core.csproj" />
</ItemGroup>


<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="7.*" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions Itminus.InDirectLine.sln
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{22117E27-A732-414B-83F8-B1C8C0A8ABDE}"
ProjectSection(SolutionItems) = preProject
Directory.Build.props = Directory.Build.props
Directory.Packages.props = Directory.Packages.props
EndProjectSection
EndProject
Global
Expand Down

0 comments on commit 6d836a9

Please sign in to comment.