Skip to content

Commit fa8c822

Browse files
Update dependency versions. (#7216)
* version updates and fixes * fixed torch sharp test nuget * skipping test again * fixing typo * consolidating extensions versioning * fixed remote executor app
1 parent 5f5a199 commit fa8c822

File tree

18 files changed

+77
-60
lines changed

18 files changed

+77
-60
lines changed

eng/Versions.props

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,38 @@
1313
<PreReleaseVersionLabel>preview</PreReleaseVersionLabel>
1414
<AssemblyVersion>1.0.0.0</AssemblyVersion>
1515
<!-- .NET Runtime product dependencies -->
16-
<MicrosoftBclAsyncInterfacesVersion>6.0.0</MicrosoftBclAsyncInterfacesVersion>
17-
<MicrosoftExtensionsVersion>2.1.0</MicrosoftExtensionsVersion>
18-
<MicrosoftExtensionsDependencyInjectionVersion>6.0.0</MicrosoftExtensionsDependencyInjectionVersion>
16+
<MicrosoftBclAsyncInterfacesVersion>8.0.0</MicrosoftBclAsyncInterfacesVersion>
17+
<MicrosoftExtensionsDependencyInjectionVersion>8.0.0</MicrosoftExtensionsDependencyInjectionVersion>
18+
<MicrosoftExtensionsDependencyInjectionAbstractionsVersion>8.0.1</MicrosoftExtensionsDependencyInjectionAbstractionsVersion>
19+
<MicrosoftExtensionsLoggingVersion>8.0.0</MicrosoftExtensionsLoggingVersion>
20+
<MicrosoftExtensionsObjectPoolVersion>8.0.7</MicrosoftExtensionsObjectPoolVersion>
21+
<MicrosoftExtensionsOptionsVersion>8.0.2</MicrosoftExtensionsOptionsVersion>
1922
<NuGetVersion>6.9.1</NuGetVersion>
20-
<SkiaSharpVersion>2.88.6</SkiaSharpVersion>
23+
<SkiaSharpVersion>2.88.8</SkiaSharpVersion>
2124
<SystemBuffersVersion>4.5.1</SystemBuffersVersion>
22-
<SystemCodeDomVersion>4.5.0</SystemCodeDomVersion>
23-
<SystemCollectionsImmutableVersion>1.5.0</SystemCollectionsImmutableVersion>
25+
<SystemCodeDomVersion>8.0.0</SystemCodeDomVersion>
26+
<SystemCollectionsImmutableVersion>8.0.0</SystemCollectionsImmutableVersion>
2427
<SystemConfigurationConfigurationManagerVersion>6.0.1</SystemConfigurationConfigurationManagerVersion>
25-
<SystemIOFileSystemAccessControl>4.5.0</SystemIOFileSystemAccessControl>
28+
<SystemFormatsAsn1Version>8.0.1</SystemFormatsAsn1Version>
29+
<SystemIOFileSystemAccessControl>5.0.0</SystemIOFileSystemAccessControl>
2630
<SystemMemoryVersion>4.5.5</SystemMemoryVersion>
2731
<SystemNumericsTensorsVersion>8.0.0</SystemNumericsTensorsVersion>
28-
<SystemReflectionEmitLightweightVersion>4.3.0</SystemReflectionEmitLightweightVersion>
32+
<SystemReflectionEmitLightweightVersion>4.7.0</SystemReflectionEmitLightweightVersion>
2933
<SystemReflectionEmitVersion>4.3.0</SystemReflectionEmitVersion>
3034
<SystemRuntimeCompilerServicesUnsafeVersion>6.0.0</SystemRuntimeCompilerServicesUnsafeVersion>
31-
<SystemSecurityPrincipalWindows>4.5.0</SystemSecurityPrincipalWindows>
32-
<SystemTextEncodingsWebVersion>6.0.0</SystemTextEncodingsWebVersion>
33-
<SystemTextJsonVersion>6.0.1</SystemTextJsonVersion>
34-
<SystemThreadingChannelsVersion>4.7.1</SystemThreadingChannelsVersion>
35+
<SystemSecurityPrincipalWindows>5.0.0</SystemSecurityPrincipalWindows>
36+
<SystemTextEncodingsWebVersion>8.0.0</SystemTextEncodingsWebVersion>
37+
<SystemTextJsonVersion>8.0.4</SystemTextJsonVersion>
38+
<SystemThreadingChannelsVersion>8.0.0</SystemThreadingChannelsVersion>
3539
<!-- Other product dependencies -->
3640
<ApacheArrowVersion>14.0.2</ApacheArrowVersion>
37-
<GoogleProtobufVersion>3.19.6</GoogleProtobufVersion>
41+
<GoogleProtobufVersion>3.27.1</GoogleProtobufVersion>
3842
<LightGBMVersion>3.3.5</LightGBMVersion>
3943
<MicrosoftBclHashCodeVersion>1.1.1</MicrosoftBclHashCodeVersion>
40-
<MicrosoftCodeAnalysisAnalyzersVersion>3.3.0</MicrosoftCodeAnalysisAnalyzersVersion>
41-
<MicrosoftCodeAnalysisCSharpVersion>3.9.0</MicrosoftCodeAnalysisCSharpVersion>
42-
<MicrosoftDotNetInteractiveVersion>1.0.0-beta.23509.3</MicrosoftDotNetInteractiveVersion>
43-
<MicrosoftMLOnnxRuntimeVersion>1.16.3</MicrosoftMLOnnxRuntimeVersion>
44+
<MicrosoftCodeAnalysisAnalyzersVersion>3.3.4</MicrosoftCodeAnalysisAnalyzersVersion>
45+
<MicrosoftCodeAnalysisCSharpVersion>4.9.2</MicrosoftCodeAnalysisCSharpVersion>
46+
<MicrosoftDotNetInteractiveVersion>1.0.0-beta.24375.2</MicrosoftDotNetInteractiveVersion>
47+
<MicrosoftMLOnnxRuntimeVersion>1.18.1</MicrosoftMLOnnxRuntimeVersion>
4448
<MlNetMklDepsVersion>0.0.0.12</MlNetMklDepsVersion>
4549
<!--
4650
@("inteltbb.devel", "win", "2021.7.1.15305")
@@ -54,12 +58,12 @@
5458
<OneTbbPkgVersion Condition="$([MSBuild]::IsOSPlatform('osx'))">2021.7.1.14939</OneTbbPkgVersion>
5559
<OneDalMajorBinaryVersion>1</OneDalMajorBinaryVersion>
5660
<OneDalMinorBinaryVersion>1</OneDalMinorBinaryVersion>
57-
<MSTestTestAdapterVersion>2.1.0</MSTestTestAdapterVersion>
58-
<MSTestTestFrameworkVersion>2.1.0</MSTestTestFrameworkVersion>
61+
<MSTestTestAdapterVersion>3.5.0</MSTestTestAdapterVersion>
62+
<MSTestTestFrameworkVersion>3.5.0</MSTestTestFrameworkVersion>
5963
<NewtonsoftJsonVersion>13.0.3</NewtonsoftJsonVersion>
6064
<ParquetDotNetVersion>2.1.3</ParquetDotNetVersion>
61-
<PlotlyNETCSharpVersion>0.0.1</PlotlyNETCSharpVersion>
62-
<SharpZipLibVersion>1.4.0</SharpZipLibVersion>
65+
<PlotlyNETCSharpVersion>0.11.1</PlotlyNETCSharpVersion>
66+
<SharpZipLibVersion>1.4.2</SharpZipLibVersion>
6367
<TensorflowDotNETVersion>0.20.1</TensorflowDotNETVersion>
6468
<TensorFlowMajorVersion>2</TensorFlowMajorVersion>
6569
<TensorFlowVersion>2.3.1</TensorFlowVersion>
@@ -73,29 +77,29 @@
7377
<CoverletCollectorVersion>6.0.2</CoverletCollectorVersion>
7478
<CoverletMsbuildVersion>6.0.0</CoverletMsbuildVersion>
7579
<MicrosoftCodeAnalysisCSharpInternalAnalyzerVersion>3.3.1</MicrosoftCodeAnalysisCSharpInternalAnalyzerVersion>
76-
<MicrosoftCSharpVersion>4.5.0</MicrosoftCSharpVersion>
80+
<MicrosoftCSharpVersion>4.7.0</MicrosoftCSharpVersion>
7781
<ReportGeneratorVersion>4.3.6</ReportGeneratorVersion>
78-
<SystemCompositionVersion>1.2.0</SystemCompositionVersion>
82+
<SystemCompositionVersion>8.0.0</SystemCompositionVersion>
7983
<!-- Test-only Dependencies -->
80-
<ApprovalTestsVersion>5.4.7</ApprovalTestsVersion>
84+
<ApprovalTestsVersion>6.0.0</ApprovalTestsVersion>
8185
<MoqVersion>4.20.70</MoqVersion>
82-
<BenchmarkDotNetVersion>0.13.1</BenchmarkDotNetVersion>
86+
<BenchmarkDotNetVersion>0.13.12</BenchmarkDotNetVersion>
8387
<DotNetRuntime60Version>6.0.26</DotNetRuntime60Version>
8488
<DotNetRuntime80Version>8.0.1</DotNetRuntime80Version>
85-
<FluentAssertionVersion>5.10.2</FluentAssertionVersion>
89+
<FluentAssertionVersion>6.12.0</FluentAssertionVersion>
8690
<MicrosoftCodeAnalysisTestingVersion>1.1.2-beta1.23431.1</MicrosoftCodeAnalysisTestingVersion>
91+
<MicrosoftDotNetPlatformAbstractionsVersion>5.0.0-preview.5.20278.1</MicrosoftDotNetPlatformAbstractionsVersion>
8792
<MicrosoftDotNetRemoteExecutorVersion>8.0.0-beta.24165.4</MicrosoftDotNetRemoteExecutorVersion>
8893
<MicrosoftDotNetXUnitExtensionsVersion>9.0.0-beta.24368.9</MicrosoftDotNetXUnitExtensionsVersion>
89-
<MicrosoftExtensionsDependencyModelVersion>2.1.0</MicrosoftExtensionsDependencyModelVersion>
90-
<MicrosoftExtensionsTestVersion>3.0.1</MicrosoftExtensionsTestVersion>
94+
<MicrosoftExtensionsDependencyModelVersion>8.0.1</MicrosoftExtensionsDependencyModelVersion>
9195
<MicrosoftMLOnnxTestModelsVersion>0.0.6-test</MicrosoftMLOnnxTestModelsVersion>
9296
<MicrosoftMLTensorFlowTestModelsVersion>0.0.13-test</MicrosoftMLTensorFlowTestModelsVersion>
9397
<MicrosoftMLTestDatabasesVersion>0.0.6-test</MicrosoftMLTestDatabasesVersion>
9498
<MicrosoftMLTestModelsVersion>0.0.7-test</MicrosoftMLTestModelsVersion>
9599
<MicrosoftMLTestTokenizersVersion>2.0.0-beta.24219.1</MicrosoftMLTestTokenizersVersion>
96100
<SystemDataSqlClientVersion>4.8.6</SystemDataSqlClientVersion>
97101
<SystemDataSQLiteCoreVersion>1.0.118</SystemDataSQLiteCoreVersion>
98-
<XunitCombinatorialVersion>1.2.7</XunitCombinatorialVersion>
102+
<XunitCombinatorialVersion>1.6.24</XunitCombinatorialVersion>
99103
<!-- Opt-out repo features -->
100104
<UsingToolXliff>false</UsingToolXliff>
101105
</PropertyGroup>

src/Microsoft.Data.Analysis.Interactive/Microsoft.Data.Analysis.Interactive.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<ItemGroup>
99
<PackageReference Include="Microsoft.DotNet.Interactive" Version="$(MicrosoftDotNetInteractiveVersion)" />
1010
<PackageReference Include="Microsoft.DotNet.Interactive.Formatting" Version="$(MicrosoftDotNetInteractiveVersion)" />
11+
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
1112
</ItemGroup>
1213

1314
<ItemGroup>

src/Microsoft.Extensions.ML/Microsoft.Extensions.ML.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MicrosoftExtensionsVersion)" />
11-
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsVersion)" />
12-
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="$(MicrosoftExtensionsVersion)" />
13-
<PackageReference Include="Microsoft.Extensions.Options" Version="$(MicrosoftExtensionsVersion)" />
10+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MicrosoftExtensionsDependencyInjectionAbstractionsVersion)" />
11+
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsLoggingVersion)" />
12+
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="$(MicrosoftExtensionsObjectPoolVersion)" />
13+
<PackageReference Include="Microsoft.Extensions.Options" Version="$(MicrosoftExtensionsOptionsVersion)" />
1414

1515
<ProjectReference Include="..\Microsoft.ML.Core\Microsoft.ML.Core.csproj" PrivateAssets="all" />
1616
<ProjectReference Include="..\Microsoft.ML.Data\Microsoft.ML.Data.csproj" PrivateAssets="all" />

src/Microsoft.ML.GenAI.Core/Pipeline/CausalLMPipeline.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public CausalLMPipeline(
9797
/// <summary>
9898
/// For moq purpose
9999
/// </summary>
100-
protected private CausalLMPipeline()
100+
private protected CausalLMPipeline()
101101
{
102102
this.Tokenizer = default!;
103103
this.Model = default!;

test/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<PackageReference Include="Microsoft.DotNet.XUnitExtensions" Version="$(MicrosoftDotNetXUnitExtensionsVersion)" />
3535
<PackageReference Include="coverlet.collector" Version="$(CoverletCollectorVersion)" />
3636
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
37+
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="$(SystemRuntimeCompilerServicesUnsafeVersion)" PrivateAssets="all" GeneratePathProperty="true" />
3738

3839
<!-- workaround stale references in test packages by
3940
1) updating NETStandard.Library - the newer version brings less references on netstandard2.0 compatible frameworks.

test/Microsoft.Extensions.ML.Tests/Microsoft.Extensions.ML.Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
<ItemGroup>
1616
<!-- Make sure to use the updated version of Microsoft.Extensions.* in test projects -->
17-
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MicrosoftExtensionsTestVersion)" />
18-
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsTestVersion)" />
19-
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="$(MicrosoftExtensionsTestVersion)" />
20-
<PackageReference Include="Microsoft.Extensions.Options" Version="$(MicrosoftExtensionsTestVersion)" />
17+
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MicrosoftExtensionsDependencyInjectionAbstractionsVersion)" />
18+
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsLoggingVersion)" />
19+
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="$(MicrosoftExtensionsObjectPoolVersion)" />
20+
<PackageReference Include="Microsoft.Extensions.Options" Version="$(MicrosoftExtensionsOptionsVersion)" />
2121
</ItemGroup>
2222

2323
<ItemGroup>

test/Microsoft.ML.Benchmarks.Tests/BenchmarksTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public void BenchmarksProjectIsNotBroken(Type type)
6666
"The following benchmarks don't have any execution results: " +
6767
string.Join(", ", summary.Reports.Where(r => r.ExecuteResults == null).Select(r => r.BenchmarkCase.DisplayInfo)));
6868

69-
Assert.True(summary.Reports.All(r => r.ExecuteResults.Any(er => er.FoundExecutable && er.Data.Any())),
69+
Assert.True(summary.Reports.All(r => r.ExecuteResults.Any(er => er.FoundExecutable && er.Results.Any())),
7070
"All reports should have at least one \"ExecuteResult\" with \"FoundExecutable\" = true and at least one \"Data\" item");
7171

7272
Assert.True(summary.Reports.All(report => report.AllMeasurements.Any()),

test/Microsoft.ML.NightlyBuild.Tests/Microsoft.ML.NightlyBuild.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
<ItemGroup>
3434
<PackageReference Include="Microsoft.ML.OnnxRuntime" Version="$(MicrosoftMLOnnxRuntimeVersion)" />
35+
<PackageReference Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutableVersion)" />
3536
</ItemGroup>
3637

3738
</Project>

test/Microsoft.ML.PerformanceTests/Harness/Configs.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class RecommendedConfig : ManualConfig
1818
{
1919
public RecommendedConfig()
2020
{
21-
Add(DefaultConfig.Instance); // this config contains all of the basic settings (exporters, columns etc)
21+
Add(DefaultConfig.Instance.WithOption(ConfigOptions.Default, true).WithBuildTimeout(TimeSpan.FromMinutes(5))); // this config contains all of the basic settings (exporters, columns etc)
2222

2323
AddJob(GetJobDefinition()// job defines how many times given benchmark should be executed
2424
.WithCustomBuildConfiguration(GetBuildConfigurationName())
@@ -38,18 +38,14 @@ protected virtual Job GetJobDefinition()
3838
/// </summary>
3939
private IToolchain CreateToolchain()
4040
{
41-
TimeSpan timeout = TimeSpan.FromMinutes(5);
42-
4341
#if NETFRAMEWORK
4442
var tfm = "net462";
45-
var csProj = CsProjClassicNetToolchain.From(tfm, timeout: timeout);
43+
var csProj = CsProjClassicNetToolchain.From(tfm);
4644
#else
4745
var frameworkName = new FrameworkName(AppContext.TargetFrameworkName);
4846
var frameworkVersion = frameworkName.Version.ToString(2);
4947
var settings = new NetCoreAppSettings($"net{frameworkVersion}", null, $".NET {frameworkVersion}");
5048

51-
settings = settings.WithTimeout(timeout);
52-
5349
var tfm = settings.TargetFrameworkMoniker;
5450
var csProj = CsProjCoreToolchain.From(settings);
5551
#endif

test/Microsoft.ML.PerformanceTests/Harness/Metrics.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ public string GetValue(Summary summary, BenchmarkCase benchmark, SummaryStyle st
5757

5858
var result = results.Single();
5959
var buffer = new StringBuilder();
60-
61-
foreach (var line in result.ExtraOutput)
60+
foreach (var line in result.StandardOutput)
6261
{
6362
if (Metric.TryParse(line, out Metric metric))
6463
{

test/Microsoft.ML.SearchSpace.Tests/ChoiceOptionTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public void Choice_option_dimension_should_be_0_if_contains_only_one_value()
5656
{
5757
var option = new ChoiceOption("b");
5858
option.FeatureSpaceDim.Should().Be(0);
59-
option.Default.Should().BeEquivalentTo();
59+
option.Default.Should().BeEquivalentTo(System.Array.Empty<double>());
6060
option.SampleFromFeatureSpace(new double[0]).AsType<string>().Should().Be("b");
6161
option.MappingToFeatureSpace(Parameter.FromString("b")).Should().BeEmpty();
6262
}

test/Microsoft.ML.TestFrameworkCommon/Microsoft.ML.TestFrameworkCommon.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
<ItemGroup>
1212
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="$(MicrosoftExtensionsDependencyModelVersion)" />
13+
<PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="$(MicrosoftDotNetPlatformAbstractionsVersion)" />
1314
</ItemGroup>
1415

1516
</Project>

test/Microsoft.ML.TorchSharp.Tests/Microsoft.ML.TorchSharp.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
<ItemGroup Condition="'$(TargetArchitecture)' == 'x64'">
2828
<PackageReference Include="libtorch-cpu-win-x64" Version="$(LibTorchVersion)" Condition="$([MSBuild]::IsOSPlatform('Windows')) AND '$(TargetArchitecture)' == 'x64'" />
29-
<!-- <PackageReference Include="TorchSharp-cuda-windows" Version="$(TorchSharpVersion)" Condition="$([MSBuild]::IsOSPlatform('Windows'))" /> -->
29+
<!--<PackageReference Include="TorchSharp-cuda-windows" Version="$(TorchSharpVersion)" Condition="$([MSBuild]::IsOSPlatform('Windows'))" />-->
3030
<PackageReference Include="libtorch-cpu-linux-x64" Version="$(LibTorchVersion)" Condition="$([MSBuild]::IsOSPlatform('Linux')) AND '$(TargetArchitecture)' == 'x64'" />
3131
<PackageReference Include="libtorch-cpu-osx-x64" Version="$(LibTorchVersion)" Condition="$([MSBuild]::IsOSPlatform('OSX')) AND '$(TargetArchitecture)' == 'x64'" />
3232

test/Microsoft.ML.TorchSharp.Tests/NerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public void TestNERLargeFileGpu()
232232
var transformer = estimator.Fit(trainTest.TrainSet);
233233
var transformerSchema = transformer.GetOutputSchema(dataView.Schema);
234234

235-
var output = transformer.Transform(trainTest.TrainSet);
235+
var output = transformer.Transform(trainTest.TestSet);
236236
using var cursor = output.GetRowCursorForAllColumns();
237237

238238
var labelGetter = cursor.GetGetter<VBuffer<uint>>(output.Schema[2]);

test/NightlyBuildDependency.props

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<ItemGroup>
33
<!-- Versions below are just placeholder, will be updated during nighly build pipeline to latest package version
44
-->
5-
<PackageReference Include="Microsoft.ML" Version="1.5.0-preview-28305-3" />
6-
<PackageReference Include="Microsoft.ML.Ensemble" Version="0.17.0-preview-28305-3" />
7-
<PackageReference Include="Microsoft.ML.EntryPoints" Version="0.17.0-preview-28305-3" />
8-
<PackageReference Include="Microsoft.ML.FastTree" Version="1.5.0-preview-28305-3" />
9-
<PackageReference Include="Microsoft.ML.LightGbm" Version="1.5.0-preview-28305-3" />
10-
<PackageReference Include="Microsoft.ML.Mkl.Components" Version="1.5.0-preview-28305-3" />
11-
<PackageReference Include="Microsoft.ML.OnnxConverter" Version="0.17.0-preview-28305-3" />
12-
<PackageReference Include="Microsoft.ML.OnnxTransformer" Version="1.5.0-preview-28305-3" />
13-
<PackageReference Include="Microsoft.ML.Parquet" Version="0.17.0-preview-28305-3" />
14-
<PackageReference Include="Microsoft.ML.Recommender" Version="0.17.0-preview-28305-3" />
5+
<PackageReference Include="Microsoft.ML" Version="4.0.0-preview.24378.1" />
6+
<PackageReference Include="Microsoft.ML.Ensemble" Version="0.22.0-preview.24378.1" />
7+
<PackageReference Include="Microsoft.ML.EntryPoints" Version="0.22.0-preview.24378.1" />
8+
<PackageReference Include="Microsoft.ML.FastTree" Version="4.0.0-preview.24378.1" />
9+
<PackageReference Include="Microsoft.ML.LightGbm" Version="4.0.0-preview.24378.1" />
10+
<PackageReference Include="Microsoft.ML.Mkl.Components" Version="4.0.0-preview.24378.1" />
11+
<PackageReference Include="Microsoft.ML.OnnxConverter" Version="0.22.0-preview.24378.1" />
12+
<PackageReference Include="Microsoft.ML.OnnxTransformer" Version="4.0.0-preview.24378.1" />
13+
<PackageReference Include="Microsoft.ML.Parquet" Version="0.22.0-preview.24378.1" />
14+
<PackageReference Include="Microsoft.ML.Recommender" Version="0.22.0-preview.24378.1" />
1515
</ItemGroup>
1616
</Project>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
// See the LICENSE file in the project root for more information.
4+
5+
// This file is used by Code Analysis to maintain SuppressMessage
6+
// attributes that are applied to this project.
7+
// Project-level suppressions either have no target or are given
8+
// a specific target and scoped to a namespace, type, member, etc.
9+
10+
using System.Diagnostics.CodeAnalysis;
11+
12+
[assembly: SuppressMessage("MicrosoftCodeAnalysisCorrectness", "RS1035:Do not use APIs banned for analyzers", Justification = "This is a new rule, will be fixing it in a separate PR so disabling for now.")]

tools-local/Microsoft.ML.AutoML.SourceGenerator/Microsoft.ML.AutoML.SourceGenerator.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<LangVersion>9.0</LangVersion>
66
<GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPaths</GetTargetPathDependsOn>
77
<IncludeBuildOutput>false</IncludeBuildOutput>
8+
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
89
</PropertyGroup>
910

1011
<ItemGroup>

tools-local/Microsoft.ML.InternalCodeAnalyzer/Microsoft.ML.InternalCodeAnalyzer.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="$(MicrosoftCodeAnalysisCSharpInternalAnalyzerVersion)" />
99
<PackageReference Include="Microsoft.CSharp" Version="$(MicrosoftCSharpVersion)" />
1010
<PackageReference Include="System.Composition" Version="$(SystemCompositionVersion)" />
11+
<PackageReference Include="System.Formats.Asn1" Version="$(SystemFormatsAsn1Version)" />
1112
</ItemGroup>
1213

1314
<ItemGroup>

0 commit comments

Comments
 (0)