From ec52905ab2995fade0463bc77b71ed6397fca655 Mon Sep 17 00:00:00 2001 From: Gen Lu Date: Thu, 15 Apr 2021 18:14:02 -0700 Subject: [PATCH] Use merged interops --- NuGet.config | 2 + eng/Versions.props | 77 ++++++++++--------- .../CommandLineArgumentsDataSource.cs | 4 +- .../Roslyn.ComponentDebugger.csproj | 16 ++-- .../Roslyn.SDK.Template.Wizard.csproj | 7 +- .../Roslyn.SDK/Roslyn.SDK.csproj | 2 +- .../Roslyn.SyntaxVisualizer.Control.csproj | 5 +- .../Roslyn.SyntaxVisualizer.Extension.csproj | 7 +- .../Roslyn.SDK.IntegrationTests.csproj | 7 +- 9 files changed, 58 insertions(+), 69 deletions(-) diff --git a/NuGet.config b/NuGet.config index 687b1bf8e6..ecc226ea96 100644 --- a/NuGet.config +++ b/NuGet.config @@ -6,7 +6,9 @@ + + diff --git a/eng/Versions.props b/eng/Versions.props index 2444a3f630..f5a7f0b8ae 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -16,47 +16,47 @@ + + 4.0.0-1.21215.26 + 17.0.0-preview-1-31214-1111 3.3.2 - 3.9.0 - 3.9.0 - 3.9.0 - 3.9.0 - 3.9.0 + $(MicrosoftCodeAnalysisPackagesVersion) + $(MicrosoftCodeAnalysisPackagesVersion) + $(MicrosoftCodeAnalysisPackagesVersion) + $(MicrosoftCodeAnalysisPackagesVersion) + $(MicrosoftCodeAnalysisPackagesVersion) - 8.0.0 - 8.0.1 - 2.7.100 - 16.8.239 - 16.8.239 - 16.8.239 - 16.7.30328.74 - 16.7.30328.74 - 16.7.30329.63 - 16.8.239 - 16.7.9 - 16.7.30329.88 - 16.7.30329.88 - 16.7.30328.74 - 16.7.30328.74 - 16.7.30328.74 - 16.7.30328.74 - 16.7.30328.74 - 16.7.30328.74 - 16.7.30328.74 - 16.7.30328.74 - 16.7.30328.74 - 16.8.239 - 16.8.239 - 16.7.30328.74 - 16.8.239 - 16.8.55 + $(MicrosoftVisualStudioShellPackagesVersion) + $(MicrosoftVisualStudioShellPackagesVersion) + 2.7.2466 + 16.9.6-alpha + 17.0.30-g62d2639511 + 17.0.30-g62d2639511 + 17.0.30-g62d2639511 + $(MicrosoftVisualStudioShellPackagesVersion) + $(MicrosoftVisualStudioShellPackagesVersion) + $(MicrosoftVisualStudioShellPackagesVersion) + 17.0.30-g62d2639511 + 16.9.2-alpha + $(MicrosoftVisualStudioShellPackagesVersion) + $(MicrosoftVisualStudioShellPackagesVersion) + $(MicrosoftVisualStudioShellPackagesVersion) + 17.0.30-g62d2639511 + 17.0.30-g62d2639511 + $(MicrosoftVisualStudioShellPackagesVersion) + 17.0.30-g62d2639511 + 16.10.53-alpha 16.3.23 - 16.8.33 + 16.9.32 5.6.0 - 2.6.121 - 16.7.30508.193 - 12.0.4 + 2.7.67 + 17.0.0-preview-1-31214-1111 + 17.0.0-preview-1-31209-1111 + 5.0.0 + + 17.0.0-beta1-10413-02 + 17.0.0-beta1-10413-02 1.4.4 @@ -69,4 +69,9 @@ 2.9.8 1.2.0-beta.164 + + + + $(NoWarn);NU3027;NU3018 + diff --git a/src/VisualStudio.Roslyn.SDK/ComponentDebugger/CommandLineArgumentsDataSource.cs b/src/VisualStudio.Roslyn.SDK/ComponentDebugger/CommandLineArgumentsDataSource.cs index 64174d3a25..22d274bfd1 100644 --- a/src/VisualStudio.Roslyn.SDK/ComponentDebugger/CommandLineArgumentsDataSource.cs +++ b/src/VisualStudio.Roslyn.SDK/ComponentDebugger/CommandLineArgumentsDataSource.cs @@ -50,7 +50,7 @@ protected override IDisposable LinkExternalInput(ITargetBlock>> PreprocessAsync(IProjectVersionedValue input, IProjectVersionedValue>? previousOutput) + protected override Task>?> PreprocessAsync(IProjectVersionedValue? input, IProjectVersionedValue>? previousOutput) { if (input is null) { @@ -58,7 +58,7 @@ protected override Task>> Preproce } var description = input.Value.ProjectChanges[Constants.CommandLineArgsRuleName]; - return Task.FromResult>>(new ProjectVersionedValue>(description.After.Items.Keys.ToImmutableArray(), input.DataSourceVersions)); + return Task.FromResult>?>(new ProjectVersionedValue>(description.After.Items.Keys.ToImmutableArray(), input.DataSourceVersions)); } protected override Task ApplyAsync(IProjectVersionedValue> value) diff --git a/src/VisualStudio.Roslyn.SDK/ComponentDebugger/Roslyn.ComponentDebugger.csproj b/src/VisualStudio.Roslyn.SDK/ComponentDebugger/Roslyn.ComponentDebugger.csproj index 44588ee000..41199d84d8 100644 --- a/src/VisualStudio.Roslyn.SDK/ComponentDebugger/Roslyn.ComponentDebugger.csproj +++ b/src/VisualStudio.Roslyn.SDK/ComponentDebugger/Roslyn.ComponentDebugger.csproj @@ -7,17 +7,15 @@ net472 enable true - NU1603;NU1605 + $(NoWarn);NU1603;NU1605 - - + + - - - - - - + + + + diff --git a/src/VisualStudio.Roslyn.SDK/Roslyn.SDK.Template.Wizard/Roslyn.SDK.Template.Wizard.csproj b/src/VisualStudio.Roslyn.SDK/Roslyn.SDK.Template.Wizard/Roslyn.SDK.Template.Wizard.csproj index b06da45aff..ab9f114ae8 100644 --- a/src/VisualStudio.Roslyn.SDK/Roslyn.SDK.Template.Wizard/Roslyn.SDK.Template.Wizard.csproj +++ b/src/VisualStudio.Roslyn.SDK/Roslyn.SDK.Template.Wizard/Roslyn.SDK.Template.Wizard.csproj @@ -10,15 +10,12 @@ - - - - + - + diff --git a/src/VisualStudio.Roslyn.SDK/Roslyn.SDK/Roslyn.SDK.csproj b/src/VisualStudio.Roslyn.SDK/Roslyn.SDK/Roslyn.SDK.csproj index 370c4ea744..9288c32f95 100644 --- a/src/VisualStudio.Roslyn.SDK/Roslyn.SDK/Roslyn.SDK.csproj +++ b/src/VisualStudio.Roslyn.SDK/Roslyn.SDK/Roslyn.SDK.csproj @@ -129,6 +129,6 @@ - + diff --git a/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.Control/Roslyn.SyntaxVisualizer.Control.csproj b/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.Control/Roslyn.SyntaxVisualizer.Control.csproj index 6882f34004..a1924bb1a4 100644 --- a/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.Control/Roslyn.SyntaxVisualizer.Control.csproj +++ b/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.Control/Roslyn.SyntaxVisualizer.Control.csproj @@ -22,10 +22,7 @@ - - - - + diff --git a/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.Extension/Roslyn.SyntaxVisualizer.Extension.csproj b/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.Extension/Roslyn.SyntaxVisualizer.Extension.csproj index 9baf559725..377c9fb796 100644 --- a/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.Extension/Roslyn.SyntaxVisualizer.Extension.csproj +++ b/src/VisualStudio.Roslyn.SDK/SyntaxVisualizer/Roslyn.SyntaxVisualizer.Extension/Roslyn.SyntaxVisualizer.Extension.csproj @@ -35,12 +35,7 @@ - - - - - - + diff --git a/tests/VisualStudio.Roslyn.SDK/Roslyn.SDK.IntegrationTests/Roslyn.SDK.IntegrationTests.csproj b/tests/VisualStudio.Roslyn.SDK/Roslyn.SDK.IntegrationTests/Roslyn.SDK.IntegrationTests.csproj index 0c66af099b..bb3bcb447a 100644 --- a/tests/VisualStudio.Roslyn.SDK/Roslyn.SDK.IntegrationTests/Roslyn.SDK.IntegrationTests.csproj +++ b/tests/VisualStudio.Roslyn.SDK/Roslyn.SDK.IntegrationTests/Roslyn.SDK.IntegrationTests.csproj @@ -24,12 +24,7 @@ - - - - - - +