Skip to content

Commit

Permalink
Updated to use Microsoft.Build.CentralPackageVersions
Browse files Browse the repository at this point in the history
  • Loading branch information
david-driscoll committed Jun 24, 2019
1 parent a42e1af commit fe23e4b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 36 deletions.
38 changes: 2 additions & 36 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,38 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0' or '$(TargetFramework)'=='netcoreapp2.1'">
<PackageReference Update="Microsoft.Extensions.Hosting.Abstractions" Version="2.1.1" />
<PackageReference Update="Microsoft.Extensions.Logging.Abstractions" Version="2.1.1" />
<PackageReference Update="Microsoft.Extensions.DependencyModel" Version="2.1.0" />
<PackageReference Update="Microsoft.Extensions.DiagnosticAdapter" Version="2.1.0" />
<PackageReference Update="System.Diagnostics.DiagnosticSource" Version="4.5.1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'=='netcoreapp3.0'">
<PackageReference Update="Microsoft.Extensions.Hosting.Abstractions" Version="3.0.0-preview6.19304.6" />
<PackageReference Update="Microsoft.Extensions.Logging.Abstractions" Version="3.0.0-preview6.19304.6" />
<PackageReference Update="Microsoft.Extensions.DependencyModel" Version="3.0.0-preview6-27804-01" />
<PackageReference Update="Microsoft.Extensions.DiagnosticAdapter" Version="3.0.0-preview6.19304.6" />
<PackageReference Update="System.Diagnostics.DiagnosticSource" Version="4.6.0-preview6.19303.8" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Rocket.Surgery.Build.Metadata" Version="3.3.1" PrivateAssets="All" />
<!-- <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.3" PrivateAssets="All" /> -->
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19270-01" PrivateAssets="All" />
<PackageReference Include="Roslynator.Analyzers" Version="2.1.0-rc" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Rocket.Surgery.Extensions.Testing" Version="1.1.8" />
<PackageReference Update="Autofac.Extras.FakeItEasy" Version="5.0.1" />
<PackageReference Update="Bogus" Version="27.0.1" />
<PackageReference Update="coverlet.msbuild" Version="2.6.2" />
<PackageReference Update="FakeItEasy" Version="5.1.1" />
<PackageReference Update="FakeItEasy.Analyzer.CSharp" Version="5.1.1" />
<PackageReference Update="FluentAssertions" Version="5.7.0" />
<PackageReference Update="FluentAssertions.Analyzers" Version="0.11.4" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.1.1" />
<PackageReference Update="xunit" Version="2.4.1" />
<PackageReference Update="xunit.analyzers" Version="0.10.0" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Update="XunitXml.TestLogger" Version="2.1.26" />
</ItemGroup>
</Project>
<Sdk Name="Microsoft.Build.CentralPackageVersions" Version="2.0.41" />
</Project>
38 changes: 38 additions & 0 deletions packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ItemGroup>
<GlobalPackageReference Include="Rocket.Surgery.Build.Metadata" Version="3.3.1" />
<!-- <GlobalPackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.3" /> -->
<GlobalPackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-19270-01" />
<GlobalPackageReference Include="Roslynator.Analyzers" Version="2.1.0-rc" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.Extensions.Hosting.Abstractions" Version="2.1.1" />
<PackageReference Update="Microsoft.Extensions.Logging.Abstractions" Version="2.1.1" />
<PackageReference Update="Microsoft.Extensions.DependencyModel" Version="2.1.0" />
<PackageReference Update="Microsoft.Extensions.DiagnosticAdapter" Version="2.1.0" />
<PackageReference Update="System.Diagnostics.DiagnosticSource" Version="4.5.1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)'!='netstandard2.0' and '$(TargetFramework)'!='netcoreapp2.1'">
<PackageReference Update="Microsoft.Extensions.Hosting.Abstractions" Version="3.0.0-preview6.19304.6" />
<PackageReference Update="Microsoft.Extensions.Logging.Abstractions" Version="3.0.0-preview6.19304.6" />
<PackageReference Update="Microsoft.Extensions.DependencyModel" Version="3.0.0-preview6-27804-01" />
<PackageReference Update="Microsoft.Extensions.DiagnosticAdapter" Version="3.0.0-preview6.19304.6" />
<PackageReference Update="System.Diagnostics.DiagnosticSource" Version="4.6.0-preview6.19303.8" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Rocket.Surgery.Extensions.Testing" Version="1.1.8" />
<PackageReference Update="Autofac.Extras.FakeItEasy" Version="5.0.1" />
<PackageReference Update="Bogus" Version="27.0.1" />
<PackageReference Update="coverlet.msbuild" Version="2.6.2" />
<PackageReference Update="FakeItEasy" Version="5.1.1" />
<PackageReference Update="FakeItEasy.Analyzer.CSharp" Version="5.1.1" />
<PackageReference Update="FluentAssertions" Version="5.7.0" />
<PackageReference Update="FluentAssertions.Analyzers" Version="0.11.4" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.1.1" />
<PackageReference Update="xunit" Version="2.4.1" />
<PackageReference Update="xunit.analyzers" Version="0.10.0" />
<PackageReference Update="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Update="XunitXml.TestLogger" Version="2.1.26" />
</ItemGroup>
</Project>

0 comments on commit fe23e4b

Please sign in to comment.