Skip to content

Commit 63aa4b2

Browse files
authored
Upgrade support libraries and switch to central package management (#233)
1 parent 0ee53d6 commit 63aa4b2

File tree

60 files changed

+291
-218
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+291
-218
lines changed

NuGet.config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<clear />
5+
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
6+
</packageSources>
7+
</configuration>

build-support/nuke-build/_build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Nuke.Common" Version="6.1.2" />
14+
<PackageReference Include="Nuke.Common" Version="6.2.1" />
1515
</ItemGroup>
1616

1717
</Project>

examples/Directory.Packages.props

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Project>
2+
<PropertyGroup>
3+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4+
</PropertyGroup>
5+
<ItemGroup>
6+
<PackageVersion Include="Apache.NMS" Version="2.0.0" />
7+
<PackageVersion Include="Apache.NMS.ActiveMQ" Version="1.7.2" />
8+
<PackageVersion Include="Common.Logging" Version="$(CommonLoggingVersion)" />
9+
<PackageVersion Include="Common.Logging.Log4Net1213" Version="3.4.1" />
10+
<PackageVersion Include="Common.Logging.Log4Net1215" Version="3.4.1" />
11+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
12+
<PackageVersion Include="NUnit" Version="3.13.3" />
13+
<PackageVersion Include="NUnit3TestAdapter" Version="4.3.1" />
14+
</ItemGroup>
15+
</Project>

examples/Spring/Spring.Calculator/src/Spring.Aspects/Spring.Aspects.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>$(TargetFullFrameworkVersion)</TargetFramework>
44
</PropertyGroup>
@@ -11,6 +11,6 @@
1111
</Reference>
1212
</ItemGroup>
1313
<ItemGroup>
14-
<PackageReference Include="Common.Logging" Version="$(CommonLoggingVersion)" />
14+
<PackageReference Include="Common.Logging" />
1515
</ItemGroup>
1616
</Project>

examples/Spring/Spring.CodeConfig.Migration/src/SpringApp/SpringApp.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>$(TargetFullFrameworkVersion)</TargetFramework>
44
<OutputType>Exe</OutputType>
@@ -7,7 +7,7 @@
77
<ProjectReference Include="..\Primes\Primes.csproj" />
88
</ItemGroup>
99
<ItemGroup>
10-
<PackageReference Include="Common.Logging" Version="$(CommonLoggingVersion)" />
10+
<PackageReference Include="Common.Logging" />
1111
<Reference Include="System.Configuration" />
1212
</ItemGroup>
1313
<ItemGroup>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>$(TargetFullFrameworkVersion)</TargetFramework>
44
<RootNamespace>Primes</RootNamespace>
@@ -7,8 +7,8 @@
77
<ProjectReference Include="..\..\src\Primes\Primes.csproj" />
88
</ItemGroup>
99
<ItemGroup>
10-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.2" />
11-
<PackageReference Include="NUnit" Version="3.10.1" />
12-
<PackageReference Include="NUnit3TestAdapter" Version="3.10.0" />
10+
<PackageReference Include="Microsoft.NET.Test.Sdk" />
11+
<PackageReference Include="NUnit" />
12+
<PackageReference Include="NUnit3TestAdapter" />
1313
</ItemGroup>
1414
</Project>

examples/Spring/Spring.Data.NHibernate.Northwind/src/Spring.Northwind.Web.Conversation/Spring.Northwind.Web.Conversation.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<WarningLevel>4</WarningLevel>
4343
</PropertyGroup>
4444
<ItemGroup>
45-
<PackageReference Include="Common.Logging.Log4Net1213" Version="3.4.1" />
45+
<PackageReference Include="Common.Logging.Log4Net1213" />
4646
</ItemGroup>
4747
<ItemGroup>
4848
<Reference Include="System" />
@@ -177,7 +177,7 @@
177177
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
178178
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
179179
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
180-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
180+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
181181
Other similar extension points exist, see Microsoft.Common.targets.
182182
<Target Name="BeforeBuild">
183183
</Target>

examples/Spring/Spring.Data.NHibernate.Northwind/src/Spring.Northwind.Web/Spring.Northwind.Web.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<WarningLevel>4</WarningLevel>
4343
</PropertyGroup>
4444
<ItemGroup>
45-
<PackageReference Include="Common.Logging.Log4Net1213" Version="3.4.1" />
45+
<PackageReference Include="Common.Logging.Log4Net1213" />
4646
</ItemGroup>
4747
<ItemGroup>
4848
<Reference Include="System" />
@@ -170,7 +170,7 @@
170170
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
171171
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
172172
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
173-
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
173+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
174174
Other similar extension points exist, see Microsoft.Common.targets.
175175
<Target Name="BeforeBuild">
176176
</Target>

examples/Spring/Spring.Data.NHibernate.Northwind/test/Spring.Northwind.IntegrationTests/Spring.Northwind.IntegrationTests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>$(TargetFullFrameworkVersion)</TargetFramework>
44
<RootNamespace>Spring.Northwind</RootNamespace>
@@ -14,8 +14,8 @@ rem xcopy "$(ProjectDir)Data" ..\..\..\..\build\VS.Net.2005\Spring.Northwind.In
1414
<ProjectReference Include="..\..\src\Spring.Northwind.Service\Spring.Northwind.Service.csproj" />
1515
</ItemGroup>
1616
<ItemGroup>
17-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0" />
18-
<PackageReference Include="NUnit" Version="3.12.0" />
19-
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
17+
<PackageReference Include="Microsoft.NET.Test.Sdk" />
18+
<PackageReference Include="NUnit" />
19+
<PackageReference Include="NUnit3TestAdapter" />
2020
</ItemGroup>
2121
</Project>

examples/Spring/Spring.DataQuickStart/src/Spring/Spring.DataQuickStart/Spring.DataQuickStart.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>$(TargetFullFrameworkVersion)</TargetFramework>
44
<RootNamespace>Spring</RootNamespace>
55
</PropertyGroup>
66
<ItemGroup>
7-
<PackageReference Include="Common.Logging" Version="$(CommonLoggingVersion)" />
7+
<PackageReference Include="Common.Logging" />
88
</ItemGroup>
99
<ItemGroup>
1010
<Reference Include="Spring.Core">

0 commit comments

Comments
 (0)