-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use central package management and update all references (#2508)
## Changes in this PR: - Set up some code style in `.editorconfig`. - Consolidate all references into `Directory.Packages.props`. ## Fixing tests After switching to .NET Framework 4.7.2, `MigrationToolVersionInfoTests` were failing. It seems, that in this framework when running tests inside Visual Studio. The problem was in `MigrationToolVersionInfo` constructor, where `Assembly.GetEntryAssembly()` returned `null` and so `FileVersionInfo.GetVersionInfo` throwed an exception. The problem was, that `FakeMigrationToolVersionInfo` inherited from `MigrationToolVersionInfo` and so that constructor was automatically called. I believe, this logic is not needed in fake class, so I removed inheritance and implemented just the interface.
- Loading branch information
Showing
22 changed files
with
226 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
<Project> | ||
<PropertyGroup> | ||
<Version>0.0.0.0</Version> | ||
<FileVersion>0.0.0.0</FileVersion> | ||
<InformationalVersion>0.0.0-local</InformationalVersion> | ||
<Version>0.0.0.0</Version> | ||
<FileVersion>0.0.0.0</FileVersion> | ||
<InformationalVersion>0.0.0-local</InformationalVersion> | ||
<Authors>Martin Hinshelwood</Authors> | ||
<Company>naked Agility with Martin Hinshelwood</Company> | ||
<Product>MigrationTools.CommandLine</Product> | ||
<LangVersion>default</LangVersion> | ||
<LangVersion>default</LangVersion> | ||
<NoWarn>1701;1702;1591</NoWarn> | ||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" /> | ||
<PackageReference Include="Newtonsoft.Json" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<Project> | ||
<ItemGroup> | ||
<PackageVersion Include="Azure.Monitor.OpenTelemetry.Exporter" Version="1.3.0" /> | ||
<PackageVersion Include="Ben.Demystifier" Version="0.4.1" /> | ||
<PackageVersion Include="coverlet.collector" Version="6.0.2" /> | ||
<PackageVersion Include="DotNet.Glob" Version="3.1.3" /> | ||
<PackageVersion Include="Elmah.Io.Client" Version="5.1.76" /> | ||
<PackageVersion Include="GitInfo" Version="3.3.5" /> | ||
<PackageVersion Include="Microsoft.ApplicationInsights.WorkerService" Version="2.22.0" /> | ||
<PackageVersion Include="Microsoft.AspNet.WebApi.Client" Version="6.0.0" /> | ||
<PackageVersion Include="Microsoft.Azure.Functions.Worker" Version="1.23.0" /> | ||
<PackageVersion Include="Microsoft.Azure.Functions.Worker.ApplicationInsights" Version="1.4.0" /> | ||
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Http" Version="3.2.0" /> | ||
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore" Version="1.3.2" /> | ||
<PackageVersion Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.17.4" /> | ||
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="8.0.0" /> | ||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" /> | ||
<PackageVersion Include="Microsoft.Extensions.Hosting" Version="8.0.0" /> | ||
<PackageVersion Include="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0" /> | ||
<PackageVersion Include="Microsoft.Extensions.Logging" Version="8.0.0" /> | ||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" /> | ||
<PackageVersion Include="Microsoft.Extensions.Options" Version="8.0.0" /> | ||
<PackageVersion Include="Microsoft.IdentityModel.Clients.ActiveDirectory" Version="5.3.0" /> | ||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" /> | ||
<PackageVersion Include="Microsoft.TeamFoundation.DistributedTask.Common.Contracts" Version="19.225.1" /> | ||
<PackageVersion Include="Microsoft.TeamFoundation.DistributedTask.WebApi" Version="19.225.1" /> | ||
<PackageVersion Include="Microsoft.TeamFoundationServer.Client" Version="19.225.1" /> | ||
<PackageVersion Include="Microsoft.TeamFoundationServer.ExtendedClient" Version="19.225.1" /> | ||
<PackageVersion Include="Microsoft.VisualStudio.Services.Client" Version="19.225.1" /> | ||
<PackageVersion Include="Microsoft.VisualStudio.Services.ServiceEndpoints.WebApi" Version="19.225.1" /> | ||
<PackageVersion Include="MSTest.TestAdapter" Version="3.6.0" /> | ||
<PackageVersion Include="MSTest.TestFramework" Version="3.6.0" /> | ||
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" /> | ||
<PackageVersion Include="Newtonsoft.Json.Schema" Version="4.0.1" /> | ||
<PackageVersion Include="NuGet.Protocol" Version="6.11.0" /> | ||
<PackageVersion Include="OpenTelemetry.Exporter.Console" Version="1.9.0" /> | ||
<PackageVersion Include="OpenTelemetry.Extensions.Hosting" Version="1.9.0" /> | ||
<PackageVersion Include="OpenTelemetry.Instrumentation.Http" Version="1.9.0" /> | ||
<PackageVersion Include="OpenTelemetry.Instrumentation.Process" Version="0.5.0-beta.6" /> | ||
<PackageVersion Include="OpenTelemetry.Instrumentation.Runtime" Version="1.9.0" /> | ||
<PackageVersion Include="OxyPlot.Core" Version="2.2.0" /> | ||
<PackageVersion Include="OxyPlot.ImageSharp" Version="2.2.0" /> | ||
<PackageVersion Include="Serilog" Version="4.0.1" /> | ||
<PackageVersion Include="Serilog.Enrichers.Environment" Version="3.0.1" /> | ||
<PackageVersion Include="Serilog.Enrichers.Process" Version="3.0.0" /> | ||
<PackageVersion Include="Serilog.Extensions.Hosting" Version="8.0.0" /> | ||
<PackageVersion Include="Serilog.Extensions.Logging" Version="8.0.0" /> | ||
<PackageVersion Include="Serilog.Settings.Configuration" Version="8.0.2" /> | ||
<PackageVersion Include="Serilog.Sinks.Console" Version="6.0.0" /> | ||
<PackageVersion Include="Serilog.Sinks.Debug" Version="3.0.0" /> | ||
<PackageVersion Include="Serilog.Sinks.File" Version="6.0.0" /> | ||
<PackageVersion Include="Serilog.Sinks.InMemory" Version="0.11.0" /> | ||
<PackageVersion Include="Spectre.Console.Cli" Version="0.49.1" /> | ||
<PackageVersion Include="Spectre.Console.Extensions.Hosting" Version="0.2.0" /> | ||
<PackageVersion Include="Spectre.Console.Json" Version="0.49.1" /> | ||
<PackageVersion Include="System.CommandLine" Version="2.0.0-beta4.22272.1" /> | ||
<PackageVersion Include="System.ComponentModel.Annotations" Version="5.0.0" /> | ||
<PackageVersion Include="System.Drawing.Common" Version="8.0.8" /> | ||
<PackageVersion Include="System.Security.Principal.Windows" Version="5.0.0" /> | ||
<PackageVersion Include="TfsUrlParser" Version="1.5.0" /> | ||
<PackageVersion Include="WGet.NET" Version="4.2.0" /> | ||
<PackageVersion Include="YamlDotNet" Version="16.1.0" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.