Skip to content

Update dependency versions. #7216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
62 changes: 33 additions & 29 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,38 @@
<PreReleaseVersionLabel>preview</PreReleaseVersionLabel>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<!-- .NET Runtime product dependencies -->
<MicrosoftBclAsyncInterfacesVersion>6.0.0</MicrosoftBclAsyncInterfacesVersion>
<MicrosoftExtensionsVersion>2.1.0</MicrosoftExtensionsVersion>
<MicrosoftExtensionsDependencyInjectionVersion>6.0.0</MicrosoftExtensionsDependencyInjectionVersion>
<MicrosoftBclAsyncInterfacesVersion>8.0.0</MicrosoftBclAsyncInterfacesVersion>
<MicrosoftExtensionsDependencyInjectionVersion>8.0.0</MicrosoftExtensionsDependencyInjectionVersion>
<MicrosoftExtensionsDependencyInjectionAbstractionsVersion>8.0.1</MicrosoftExtensionsDependencyInjectionAbstractionsVersion>
<MicrosoftExtensionsLoggingVersion>8.0.0</MicrosoftExtensionsLoggingVersion>
<MicrosoftExtensionsObjectPoolVersion>8.0.7</MicrosoftExtensionsObjectPoolVersion>
<MicrosoftExtensionsOptionsVersion>8.0.2</MicrosoftExtensionsOptionsVersion>
<NuGetVersion>6.9.1</NuGetVersion>
<SkiaSharpVersion>2.88.6</SkiaSharpVersion>
<SkiaSharpVersion>2.88.8</SkiaSharpVersion>
<SystemBuffersVersion>4.5.1</SystemBuffersVersion>
<SystemCodeDomVersion>4.5.0</SystemCodeDomVersion>
<SystemCollectionsImmutableVersion>1.5.0</SystemCollectionsImmutableVersion>
<SystemCodeDomVersion>8.0.0</SystemCodeDomVersion>
<SystemCollectionsImmutableVersion>8.0.0</SystemCollectionsImmutableVersion>
<SystemConfigurationConfigurationManagerVersion>6.0.1</SystemConfigurationConfigurationManagerVersion>
<SystemIOFileSystemAccessControl>4.5.0</SystemIOFileSystemAccessControl>
<SystemFormatsAsn1Version>8.0.1</SystemFormatsAsn1Version>
<SystemIOFileSystemAccessControl>5.0.0</SystemIOFileSystemAccessControl>
<SystemMemoryVersion>4.5.5</SystemMemoryVersion>
<SystemNumericsTensorsVersion>8.0.0</SystemNumericsTensorsVersion>
<SystemReflectionEmitLightweightVersion>4.3.0</SystemReflectionEmitLightweightVersion>
<SystemReflectionEmitLightweightVersion>4.7.0</SystemReflectionEmitLightweightVersion>
<SystemReflectionEmitVersion>4.3.0</SystemReflectionEmitVersion>
<SystemRuntimeCompilerServicesUnsafeVersion>6.0.0</SystemRuntimeCompilerServicesUnsafeVersion>
<SystemSecurityPrincipalWindows>4.5.0</SystemSecurityPrincipalWindows>
<SystemTextEncodingsWebVersion>6.0.0</SystemTextEncodingsWebVersion>
<SystemTextJsonVersion>6.0.1</SystemTextJsonVersion>
<SystemThreadingChannelsVersion>4.7.1</SystemThreadingChannelsVersion>
<SystemSecurityPrincipalWindows>5.0.0</SystemSecurityPrincipalWindows>
<SystemTextEncodingsWebVersion>8.0.0</SystemTextEncodingsWebVersion>
<SystemTextJsonVersion>8.0.4</SystemTextJsonVersion>
<SystemThreadingChannelsVersion>8.0.0</SystemThreadingChannelsVersion>
<!-- Other product dependencies -->
<ApacheArrowVersion>14.0.2</ApacheArrowVersion>
<GoogleProtobufVersion>3.19.6</GoogleProtobufVersion>
<GoogleProtobufVersion>3.27.1</GoogleProtobufVersion>
<LightGBMVersion>3.3.5</LightGBMVersion>
<MicrosoftBclHashCodeVersion>1.1.1</MicrosoftBclHashCodeVersion>
<MicrosoftCodeAnalysisAnalyzersVersion>3.3.0</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCodeAnalysisCSharpVersion>3.9.0</MicrosoftCodeAnalysisCSharpVersion>
<MicrosoftDotNetInteractiveVersion>1.0.0-beta.23509.3</MicrosoftDotNetInteractiveVersion>
<MicrosoftMLOnnxRuntimeVersion>1.16.3</MicrosoftMLOnnxRuntimeVersion>
<MicrosoftCodeAnalysisAnalyzersVersion>3.3.4</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCodeAnalysisCSharpVersion>4.9.2</MicrosoftCodeAnalysisCSharpVersion>
<MicrosoftDotNetInteractiveVersion>1.0.0-beta.24375.2</MicrosoftDotNetInteractiveVersion>
<MicrosoftMLOnnxRuntimeVersion>1.18.1</MicrosoftMLOnnxRuntimeVersion>
<MlNetMklDepsVersion>0.0.0.12</MlNetMklDepsVersion>
<!--
@("inteltbb.devel", "win", "2021.7.1.15305")
Expand All @@ -54,12 +58,12 @@
<OneTbbPkgVersion Condition="$([MSBuild]::IsOSPlatform('osx'))">2021.7.1.14939</OneTbbPkgVersion>
<OneDalMajorBinaryVersion>1</OneDalMajorBinaryVersion>
<OneDalMinorBinaryVersion>1</OneDalMinorBinaryVersion>
<MSTestTestAdapterVersion>2.1.0</MSTestTestAdapterVersion>
<MSTestTestFrameworkVersion>2.1.0</MSTestTestFrameworkVersion>
<MSTestTestAdapterVersion>3.5.0</MSTestTestAdapterVersion>
<MSTestTestFrameworkVersion>3.5.0</MSTestTestFrameworkVersion>
<NewtonsoftJsonVersion>13.0.3</NewtonsoftJsonVersion>
<ParquetDotNetVersion>2.1.3</ParquetDotNetVersion>
<PlotlyNETCSharpVersion>0.0.1</PlotlyNETCSharpVersion>
<SharpZipLibVersion>1.4.0</SharpZipLibVersion>
<PlotlyNETCSharpVersion>0.11.1</PlotlyNETCSharpVersion>
<SharpZipLibVersion>1.4.2</SharpZipLibVersion>
<TensorflowDotNETVersion>0.20.1</TensorflowDotNETVersion>
<TensorFlowMajorVersion>2</TensorFlowMajorVersion>
<TensorFlowVersion>2.3.1</TensorFlowVersion>
Expand All @@ -73,29 +77,29 @@
<CoverletCollectorVersion>6.0.2</CoverletCollectorVersion>
<CoverletMsbuildVersion>6.0.0</CoverletMsbuildVersion>
<MicrosoftCodeAnalysisCSharpInternalAnalyzerVersion>3.3.1</MicrosoftCodeAnalysisCSharpInternalAnalyzerVersion>
<MicrosoftCSharpVersion>4.5.0</MicrosoftCSharpVersion>
<MicrosoftCSharpVersion>4.7.0</MicrosoftCSharpVersion>
<ReportGeneratorVersion>4.3.6</ReportGeneratorVersion>
<SystemCompositionVersion>1.2.0</SystemCompositionVersion>
<SystemCompositionVersion>8.0.0</SystemCompositionVersion>
<!-- Test-only Dependencies -->
<ApprovalTestsVersion>5.4.7</ApprovalTestsVersion>
<ApprovalTestsVersion>6.0.0</ApprovalTestsVersion>
<MoqVersion>4.20.70</MoqVersion>
<BenchmarkDotNetVersion>0.13.1</BenchmarkDotNetVersion>
<BenchmarkDotNetVersion>0.13.12</BenchmarkDotNetVersion>
<DotNetRuntime60Version>6.0.26</DotNetRuntime60Version>
<DotNetRuntime80Version>8.0.1</DotNetRuntime80Version>
<FluentAssertionVersion>5.10.2</FluentAssertionVersion>
<FluentAssertionVersion>6.12.0</FluentAssertionVersion>
<MicrosoftCodeAnalysisTestingVersion>1.1.2-beta1.23431.1</MicrosoftCodeAnalysisTestingVersion>
<MicrosoftDotNetPlatformAbstractionsVersion>5.0.0-preview.5.20278.1</MicrosoftDotNetPlatformAbstractionsVersion>
<MicrosoftDotNetRemoteExecutorVersion>8.0.0-beta.24165.4</MicrosoftDotNetRemoteExecutorVersion>
<MicrosoftDotNetXUnitExtensionsVersion>9.0.0-beta.24368.9</MicrosoftDotNetXUnitExtensionsVersion>
<MicrosoftExtensionsDependencyModelVersion>2.1.0</MicrosoftExtensionsDependencyModelVersion>
<MicrosoftExtensionsTestVersion>3.0.1</MicrosoftExtensionsTestVersion>
<MicrosoftExtensionsDependencyModelVersion>8.0.1</MicrosoftExtensionsDependencyModelVersion>
<MicrosoftMLOnnxTestModelsVersion>0.0.6-test</MicrosoftMLOnnxTestModelsVersion>
<MicrosoftMLTensorFlowTestModelsVersion>0.0.13-test</MicrosoftMLTensorFlowTestModelsVersion>
<MicrosoftMLTestDatabasesVersion>0.0.6-test</MicrosoftMLTestDatabasesVersion>
<MicrosoftMLTestModelsVersion>0.0.7-test</MicrosoftMLTestModelsVersion>
<MicrosoftMLTestTokenizersVersion>2.0.0-beta.24219.1</MicrosoftMLTestTokenizersVersion>
<SystemDataSqlClientVersion>4.8.6</SystemDataSqlClientVersion>
<SystemDataSQLiteCoreVersion>1.0.118</SystemDataSQLiteCoreVersion>
<XunitCombinatorialVersion>1.2.7</XunitCombinatorialVersion>
<XunitCombinatorialVersion>1.6.24</XunitCombinatorialVersion>
<!-- Opt-out repo features -->
<UsingToolXliff>false</UsingToolXliff>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.DotNet.Interactive" Version="$(MicrosoftDotNetInteractiveVersion)" />
<PackageReference Include="Microsoft.DotNet.Interactive.Formatting" Version="$(MicrosoftDotNetInteractiveVersion)" />
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions src/Microsoft.Extensions.ML/Microsoft.Extensions.ML.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MicrosoftExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="$(MicrosoftExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Options" Version="$(MicrosoftExtensionsVersion)" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MicrosoftExtensionsDependencyInjectionAbstractionsVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsLoggingVersion)" />
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="$(MicrosoftExtensionsObjectPoolVersion)" />
<PackageReference Include="Microsoft.Extensions.Options" Version="$(MicrosoftExtensionsOptionsVersion)" />

<ProjectReference Include="..\Microsoft.ML.Core\Microsoft.ML.Core.csproj" PrivateAssets="all" />
<ProjectReference Include="..\Microsoft.ML.Data\Microsoft.ML.Data.csproj" PrivateAssets="all" />
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.ML.GenAI.Core/Pipeline/CausalLMPipeline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public CausalLMPipeline(
/// <summary>
/// For moq purpose
/// </summary>
protected private CausalLMPipeline()
private protected CausalLMPipeline()
{
this.Tokenizer = default!;
this.Model = default!;
Expand Down
1 change: 1 addition & 0 deletions test/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<PackageReference Include="Microsoft.DotNet.XUnitExtensions" Version="$(MicrosoftDotNetXUnitExtensionsVersion)" />
<PackageReference Include="coverlet.collector" Version="$(CoverletCollectorVersion)" />
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="$(SystemRuntimeCompilerServicesUnsafeVersion)" PrivateAssets="all" GeneratePathProperty="true" />

<!-- workaround stale references in test packages by
1) updating NETStandard.Library - the newer version brings less references on netstandard2.0 compatible frameworks.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

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

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion test/Microsoft.ML.Benchmarks.Tests/BenchmarksTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void BenchmarksProjectIsNotBroken(Type type)
"The following benchmarks don't have any execution results: " +
string.Join(", ", summary.Reports.Where(r => r.ExecuteResults == null).Select(r => r.BenchmarkCase.DisplayInfo)));

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

Assert.True(summary.Reports.All(report => report.AllMeasurements.Any()),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.ML.OnnxRuntime" Version="$(MicrosoftMLOnnxRuntimeVersion)" />
<PackageReference Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutableVersion)" />
</ItemGroup>

</Project>
8 changes: 2 additions & 6 deletions test/Microsoft.ML.PerformanceTests/Harness/Configs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class RecommendedConfig : ManualConfig
{
public RecommendedConfig()
{
Add(DefaultConfig.Instance); // this config contains all of the basic settings (exporters, columns etc)
Add(DefaultConfig.Instance.WithOption(ConfigOptions.Default, true).WithBuildTimeout(TimeSpan.FromMinutes(5))); // this config contains all of the basic settings (exporters, columns etc)

AddJob(GetJobDefinition()// job defines how many times given benchmark should be executed
.WithCustomBuildConfiguration(GetBuildConfigurationName())
Expand All @@ -38,18 +38,14 @@ protected virtual Job GetJobDefinition()
/// </summary>
private IToolchain CreateToolchain()
{
TimeSpan timeout = TimeSpan.FromMinutes(5);

#if NETFRAMEWORK
var tfm = "net462";
var csProj = CsProjClassicNetToolchain.From(tfm, timeout: timeout);
var csProj = CsProjClassicNetToolchain.From(tfm);
#else
var frameworkName = new FrameworkName(AppContext.TargetFrameworkName);
var frameworkVersion = frameworkName.Version.ToString(2);
var settings = new NetCoreAppSettings($"net{frameworkVersion}", null, $".NET {frameworkVersion}");

settings = settings.WithTimeout(timeout);

var tfm = settings.TargetFrameworkMoniker;
var csProj = CsProjCoreToolchain.From(settings);
#endif
Expand Down
3 changes: 1 addition & 2 deletions test/Microsoft.ML.PerformanceTests/Harness/Metrics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ public string GetValue(Summary summary, BenchmarkCase benchmark, SummaryStyle st

var result = results.Single();
var buffer = new StringBuilder();

foreach (var line in result.ExtraOutput)
foreach (var line in result.StandardOutput)
{
if (Metric.TryParse(line, out Metric metric))
{
Expand Down
2 changes: 1 addition & 1 deletion test/Microsoft.ML.SearchSpace.Tests/ChoiceOptionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void Choice_option_dimension_should_be_0_if_contains_only_one_value()
{
var option = new ChoiceOption("b");
option.FeatureSpaceDim.Should().Be(0);
option.Default.Should().BeEquivalentTo();
option.Default.Should().BeEquivalentTo(System.Array.Empty<double>());
option.SampleFromFeatureSpace(new double[0]).AsType<string>().Should().Be("b");
option.MappingToFeatureSpace(Parameter.FromString("b")).Should().BeEmpty();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="$(MicrosoftExtensionsDependencyModelVersion)" />
<PackageReference Include="Microsoft.DotNet.PlatformAbstractions" Version="$(MicrosoftDotNetPlatformAbstractionsVersion)" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

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

Expand Down
2 changes: 1 addition & 1 deletion test/Microsoft.ML.TorchSharp.Tests/NerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public void TestNERLargeFileGpu()
var transformer = estimator.Fit(trainTest.TrainSet);
var transformerSchema = transformer.GetOutputSchema(dataView.Schema);

var output = transformer.Transform(trainTest.TrainSet);
var output = transformer.Transform(trainTest.TestSet);
using var cursor = output.GetRowCursorForAllColumns();

var labelGetter = cursor.GetGetter<VBuffer<uint>>(output.Schema[2]);
Expand Down
20 changes: 10 additions & 10 deletions test/NightlyBuildDependency.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<ItemGroup>
<!-- Versions below are just placeholder, will be updated during nighly build pipeline to latest package version
-->
<PackageReference Include="Microsoft.ML" Version="1.5.0-preview-28305-3" />
<PackageReference Include="Microsoft.ML.Ensemble" Version="0.17.0-preview-28305-3" />
<PackageReference Include="Microsoft.ML.EntryPoints" Version="0.17.0-preview-28305-3" />
<PackageReference Include="Microsoft.ML.FastTree" Version="1.5.0-preview-28305-3" />
<PackageReference Include="Microsoft.ML.LightGbm" Version="1.5.0-preview-28305-3" />
<PackageReference Include="Microsoft.ML.Mkl.Components" Version="1.5.0-preview-28305-3" />
<PackageReference Include="Microsoft.ML.OnnxConverter" Version="0.17.0-preview-28305-3" />
<PackageReference Include="Microsoft.ML.OnnxTransformer" Version="1.5.0-preview-28305-3" />
<PackageReference Include="Microsoft.ML.Parquet" Version="0.17.0-preview-28305-3" />
<PackageReference Include="Microsoft.ML.Recommender" Version="0.17.0-preview-28305-3" />
<PackageReference Include="Microsoft.ML" Version="4.0.0-preview.24378.1" />
<PackageReference Include="Microsoft.ML.Ensemble" Version="0.22.0-preview.24378.1" />
<PackageReference Include="Microsoft.ML.EntryPoints" Version="0.22.0-preview.24378.1" />
<PackageReference Include="Microsoft.ML.FastTree" Version="4.0.0-preview.24378.1" />
<PackageReference Include="Microsoft.ML.LightGbm" Version="4.0.0-preview.24378.1" />
<PackageReference Include="Microsoft.ML.Mkl.Components" Version="4.0.0-preview.24378.1" />
<PackageReference Include="Microsoft.ML.OnnxConverter" Version="0.22.0-preview.24378.1" />
<PackageReference Include="Microsoft.ML.OnnxTransformer" Version="4.0.0-preview.24378.1" />
<PackageReference Include="Microsoft.ML.Parquet" Version="0.22.0-preview.24378.1" />
<PackageReference Include="Microsoft.ML.Recommender" Version="0.22.0-preview.24378.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.

using System.Diagnostics.CodeAnalysis;

[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.")]
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<LangVersion>9.0</LangVersion>
<GetTargetPathDependsOn>$(GetTargetPathDependsOn);GetDependencyTargetPaths</GetTargetPathDependsOn>
<IncludeBuildOutput>false</IncludeBuildOutput>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="$(MicrosoftCodeAnalysisCSharpInternalAnalyzerVersion)" />
<PackageReference Include="Microsoft.CSharp" Version="$(MicrosoftCSharpVersion)" />
<PackageReference Include="System.Composition" Version="$(SystemCompositionVersion)" />
<PackageReference Include="System.Formats.Asn1" Version="$(SystemFormatsAsn1Version)" />
</ItemGroup>

<ItemGroup>
Expand Down