Skip to content

Commit

Permalink
Updated Directory.Packages.support.props to limit the number of depen…
Browse files Browse the repository at this point in the history
…dencies that are updated to pin different versions. Only pin the ones that cause problems for now (#1251)
  • Loading branch information
david-driscoll authored Nov 9, 2023
1 parent 3a7c136 commit 97affc9
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 33 deletions.
8 changes: 4 additions & 4 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"version": 1,
"isRoot": true,
"tools": {
"dotnet-outdated": {
"version": "2.11.0",
"commands": ["dotnet-outdated"]
},
"gitversion.tool": {
"version": "5.12.0",
"commands": ["dotnet-gitversion"]
Expand Down Expand Up @@ -37,6 +33,10 @@
"docfx": {
"version": "2.73.1",
"commands": ["docfx"]
},
"dotnet-outdated-tool": {
"version": "4.5.3",
"commands": ["dotnet-outdated"]
}
}
}
3 changes: 1 addition & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
<NukeTelemetryVersion>1</NukeTelemetryVersion>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<ImplicitUsings>enable</ImplicitUsings>
<IsTrimmable>true</IsTrimmable>
<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable>
<SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
</PropertyGroup>
<ItemGroup>
<None
Expand Down
27 changes: 2 additions & 25 deletions Directory.Packages.support.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,11 @@
<Project>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'netstandard2.1'">
<PackageVersion Include="Microsoft.Extensions.DiagnosticAdapter" Version="3.1.32" />
<PackageVersion Update="DryIoc.dll" Version="5.4.2" />
<PackageVersion Update="DryIoc.Microsoft.DependencyInjection" Version="6.2.0" />
<PackageVersion Update="Microsoft.AspNetCore.TestHost" Version="3.1.32" />
<PackageVersion Update="System.Diagnostics.DiagnosticSource" Version="4.7.1" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'netstandard2.1' or '$(TargetFramework)' == 'net6.0'">
<PackageVersion Update="Microsoft.Extensions.Configuration" Version="6.0.1" />
<PackageVersion Update="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" />
<PackageVersion Update="Microsoft.Extensions.Configuration.CommandLine" Version="6.0.0" />
<PackageVersion Update="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="6.0.1" />
<PackageVersion Update="Microsoft.Extensions.Configuration.FileExtensions" Version="6.0.0" />
<PackageVersion Update="Microsoft.Extensions.Configuration.Ini" Version="6.0.0" />
<PackageVersion Update="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
<PackageVersion Update="Microsoft.Extensions.Configuration.UserSecrets" Version="6.0.1" />
<PackageVersion Update="Microsoft.Extensions.DependencyInjection" Version="6.0.1" />
<PackageVersion Update="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
<PackageVersion Update="Microsoft.Extensions.DependencyModel" Version="6.0.0" />
<PackageVersion Update="Microsoft.Extensions.Hosting" Version="6.0.1" />
<PackageVersion Update="Microsoft.Extensions.Hosting.Abstractions" Version="6.0.0" />
<PackageVersion Update="Microsoft.Extensions.Logging" Version="6.0.0" />
<PackageVersion Update="Microsoft.Extensions.Logging.Abstractions" Version="6.0.4" />
<PackageVersion Update="Microsoft.Extensions.Logging.Configuration" Version="6.0.0" />
<PackageVersion Update="Microsoft.Extensions.Options.ConfigurationExtensions" Version="6.0.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageVersion Update="Microsoft.AspNetCore.Components.WebAssembly" Version="6.0.24" />
<PackageVersion Update="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="6.0.24" />
<PackageVersion Update="Microsoft.AspNetCore.TestHost" Version="6.0.24" />
<PackageVersion Update="System.Diagnostics.DiagnosticSource" Version="6.0.1" />
<PackageVersion Update="Microsoft.AspNetCore.TestHost" Version="6.0.24" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion benchmarks/Hosting.Benchmarks/Hosting.Benchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion sample/Diagnostics/Diagnostics.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<OutputType>Exe</OutputType>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
</PropertyGroup>
Expand Down

0 comments on commit 97affc9

Please sign in to comment.