Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.9" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.7.0" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="10.0.300" />
<PackageVersion Include="ptr727.Utilities" Version="4.0.1-g405af67730" />
Comment thread
ptr727 marked this conversation as resolved.
Outdated
<PackageVersion Include="Serilog" Version="4.3.1" />
<PackageVersion Include="Serilog.Enrichers.Thread" Version="4.0.0" />
Comment thread
ptr727 marked this conversation as resolved.
<PackageVersion Include="Serilog.Extensions.Logging" Version="10.0.0" />
Expand Down
45 changes: 0 additions & 45 deletions LanguageTagsCreate/AssemblyInfo.cs

This file was deleted.

4 changes: 2 additions & 2 deletions LanguageTagsCreate/CreateTagData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ private async Task DownloadFileAsync(Uri uri, string fileName)

Log.Information("Downloading \"{Uri}\" to \"{FileName}\" ...", uri.ToString(), fileName);

using Stream httpStream = await HttpClientFactory
.GetHttpClient()
using Stream httpStream = await Utilities
.HttpClientFactory.GetClient()
.GetStreamAsync(uri, cancellationToken)
.ConfigureAwait(false);

Expand Down
120 changes: 0 additions & 120 deletions LanguageTagsCreate/HttpClientFactory.cs

This file was deleted.

2 changes: 1 addition & 1 deletion LanguageTagsCreate/LanguageTagsCreate.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<ProjectReference Include="..\LanguageTags\LanguageTags.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Http.Resilience" />
<PackageReference Include="ptr727.Utilities" />
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="all" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
<PackageReference Include="Serilog.Enrichers.Thread" />
Expand Down
1 change: 1 addition & 0 deletions LanguageTagsCreate/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ internal static async Task<int> Main(string[] args)
commandLine.CreateOptions(commandLine.Result).LogOptions
);
LogOptions.SetFactory(LoggerFactory.CreateLoggerFactory());
Utilities.LogOptions.SetFactory(LoggerFactory.CreateLoggerFactory());
Comment thread
ptr727 marked this conversation as resolved.
Outdated

// Invoke command
Log.Logger.LogOverrideContext().Information("Starting: {Args}", args);
Expand Down