Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit a617770

Browse files
authored
Update Microsoft.Extensions packages (#318)
* Update to extensions 2.x * bump versions 4.7.2 * test system.web.http * Update serilog extensions reference. * Throw NotImplmented instead of stub.
1 parent 3a38de4 commit a617770

41 files changed

Lines changed: 62 additions & 66 deletions

File tree

Some content is hidden

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

src/NuGet.Services.AzureManagement/NuGet.Services.AzureManagement.csproj

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>NuGet.Services.AzureManagement</RootNamespace>
1111
<AssemblyName>NuGet.Services.AzureManagement</AssemblyName>
12-
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<TargetFrameworkProfile />
1515
</PropertyGroup>
@@ -42,6 +42,7 @@
4242
<ItemGroup>
4343
<Reference Include="System" />
4444
<Reference Include="System.Core" />
45+
<Reference Include="System.Net.Http" />
4546
<Reference Include="System.Xml.Linq" />
4647
<Reference Include="System.Data.DataSetExtensions" />
4748
<Reference Include="Microsoft.CSharp" />
@@ -73,9 +74,6 @@
7374
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
7475
<PrivateAssets>all</PrivateAssets>
7576
</PackageReference>
76-
<PackageReference Include="System.Net.Http">
77-
<Version>4.3.4</Version>
78-
</PackageReference>
7977
<PackageReference Include="System.Text.RegularExpressions">
8078
<Version>4.3.0</Version>
8179
</PackageReference>

src/NuGet.Services.Build/NuGet.Services.Build.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>NuGet.Services.Build</RootNamespace>
1111
<AssemblyName>NuGet.Services.Build</AssemblyName>
12-
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<NuGetPackageImportStamp>
1515
</NuGetPackageImportStamp>

src/NuGet.Services.Configuration/NonCachingOptionsSnapshot.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,10 @@ public NonCachingOptionsSnapshot(IEnumerable<IConfigureOptions<TOptions>> setups
3333
}
3434

3535
public TOptions Value => _value;
36+
37+
public TOptions Get(string name)
38+
{
39+
throw new NotImplementedException();
40+
}
3641
}
3742
}

src/NuGet.Services.Configuration/NuGet.Services.Configuration.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>NuGet.Services.Configuration</RootNamespace>
1111
<AssemblyName>NuGet.Services.Configuration</AssemblyName>
12-
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
1313
</PropertyGroup>
1414
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1515
<DebugSymbols>true</DebugSymbols>
@@ -77,19 +77,19 @@
7777
<PrivateAssets>all</PrivateAssets>
7878
</PackageReference>
7979
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions">
80-
<Version>1.1.2</Version>
80+
<Version>2.2.0</Version>
8181
</PackageReference>
8282
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables">
83-
<Version>1.0.0</Version>
83+
<Version>2.2.0</Version>
8484
</PackageReference>
8585
<PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions">
86-
<Version>1.1.2</Version>
86+
<Version>2.2.0</Version>
8787
</PackageReference>
8888
<PackageReference Include="Microsoft.Extensions.Configuration.Json">
89-
<Version>1.0.0</Version>
89+
<Version>2.2.0</Version>
9090
</PackageReference>
9191
<PackageReference Include="Microsoft.Extensions.Options">
92-
<Version>1.1.2</Version>
92+
<Version>2.2.0</Version>
9393
</PackageReference>
9494
<PackageReference Include="NuGet.Build.Tasks.Pack">
9595
<Version>4.8.0</Version>

src/NuGet.Services.Configuration/SecretConfigurationReader.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ public class SecretConfigurationReader : IConfigurationRoot
1515
private ISecretReaderFactory _secretReaderFactory;
1616
private Lazy<ISecretInjector> _secretInjector;
1717

18+
public IEnumerable<Microsoft.Extensions.Configuration.IConfigurationProvider> Providers => throw new NotImplementedException();
19+
1820
private ISecretInjector InitSecretInjector()
1921
{
2022
return _secretReaderFactory.CreateSecretInjector(_secretReaderFactory.CreateSecretReader());

src/NuGet.Services.Contracts/NuGet.Services.Contracts.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>NuGet.Services</RootNamespace>
1111
<AssemblyName>NuGet.Services.Contracts</AssemblyName>
12-
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
</PropertyGroup>
1515
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
@@ -75,9 +75,6 @@
7575
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
7676
<PrivateAssets>all</PrivateAssets>
7777
</PackageReference>
78-
<PackageReference Include="System.Net.Http">
79-
<Version>4.3.4</Version>
80-
</PackageReference>
8178
</ItemGroup>
8279
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8380
<PropertyGroup>

src/NuGet.Services.Cursor/NuGet.Services.Cursor.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>NuGet.Services.Cursor</RootNamespace>
1111
<AssemblyName>NuGet.Services.Cursor</AssemblyName>
12-
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
</PropertyGroup>
1515
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

src/NuGet.Services.FeatureFlags/NuGet.Services.FeatureFlags.csproj

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>NuGet.Services.FeatureFlags</RootNamespace>
1111
<AssemblyName>NuGet.Services.FeatureFlags</AssemblyName>
12-
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<Deterministic>true</Deterministic>
1515
</PropertyGroup>
@@ -69,16 +69,13 @@
6969
<PrivateAssets>all</PrivateAssets>
7070
</PackageReference>
7171
<PackageReference Include="Microsoft.Extensions.Logging">
72-
<Version>1.1.2</Version>
72+
<Version>2.2.0</Version>
7373
</PackageReference>
7474
<PackageReference Include="NuGet.Build.Tasks.Pack">
7575
<Version>4.8.0</Version>
7676
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
7777
<PrivateAssets>all</PrivateAssets>
7878
</PackageReference>
79-
<PackageReference Include="System.Net.Http">
80-
<Version>4.3.4</Version>
81-
</PackageReference>
8279
</ItemGroup>
8380
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8481
<PropertyGroup>

src/NuGet.Services.Incidents/NuGet.Services.Incidents.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>NuGet.Services.Incidents</RootNamespace>
1111
<AssemblyName>NuGet.Services.Incidents</AssemblyName>
12-
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<Deterministic>true</Deterministic>
1515
</PropertyGroup>

src/NuGet.Services.KeyVault/NuGet.Services.KeyVault.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>NuGet.Services.KeyVault</RootNamespace>
1111
<AssemblyName>NuGet.Services.KeyVault</AssemblyName>
12-
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
1313
</PropertyGroup>
1414
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1515
<DebugSymbols>true</DebugSymbols>
@@ -89,9 +89,6 @@
8989
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
9090
<PrivateAssets>all</PrivateAssets>
9191
</PackageReference>
92-
<PackageReference Include="System.Net.Http">
93-
<Version>4.3.4</Version>
94-
</PackageReference>
9592
</ItemGroup>
9693
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
9794
<PropertyGroup>

0 commit comments

Comments
 (0)