Remove uneeded roslyn patch (#12531)
This commit is contained in:
parent
e8cf5183b7
commit
fd022a39be
1 changed files with 0 additions and 265 deletions
|
@ -1,265 +0,0 @@
|
||||||
From d1fd2aa5e216e49f9da38b0000d006184c540ff2 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Joey Robichaud <jorobich@microsoft.com>
|
|
||||||
Date: Wed, 20 Oct 2021 13:40:38 -0700
|
|
||||||
Subject: [PATCH] Add Features projects to SourceBuild
|
|
||||||
|
|
||||||
---
|
|
||||||
eng/SourceBuild.props | 2 +-
|
|
||||||
eng/Versions.props | 17 ++++++++++++-----
|
|
||||||
.../Core/Tests}/Directory.Build.props | 0
|
|
||||||
.../Microsoft.Build.Tasks.CodeAnalysis.csproj | 6 +++---
|
|
||||||
...ft.Build.Tasks.CodeAnalysis.UnitTests.csproj | 6 +++---
|
|
||||||
.../Extension/Roslyn.Compilers.Extension.csproj | 6 +++---
|
|
||||||
.../Microsoft.CodeAnalysis.Features.csproj | 2 +-
|
|
||||||
.../{ => LanguageServer}/Directory.Build.props | 0
|
|
||||||
src/Features/{ => Lsif}/Directory.Build.props | 0
|
|
||||||
.../VisualStudio}/Directory.Build.props | 0
|
|
||||||
src/Tools/AnalyzerRunner/AnalyzerRunner.csproj | 2 +-
|
|
||||||
src/Tools/BuildBoss/ProjectCheckerUtil.cs | 7 ++++---
|
|
||||||
.../IdeCoreBenchmarks/IdeCoreBenchmarks.csproj | 2 +-
|
|
||||||
...osoft.CodeAnalysis.Workspaces.MSBuild.csproj | 8 +++-----
|
|
||||||
...Analysis.Workspaces.MSBuild.UnitTests.csproj | 4 ++--
|
|
||||||
15 files changed, 34 insertions(+), 28 deletions(-)
|
|
||||||
copy src/{Features => CodeStyle/Core/Tests}/Directory.Build.props (100%)
|
|
||||||
copy src/Features/{ => LanguageServer}/Directory.Build.props (100%)
|
|
||||||
copy src/Features/{ => Lsif}/Directory.Build.props (100%)
|
|
||||||
rename src/{Features => NuGet/VisualStudio}/Directory.Build.props (100%)
|
|
||||||
|
|
||||||
diff --git a/eng/SourceBuild.props b/eng/SourceBuild.props
|
|
||||||
index 182f8a9cdb1..92e316a4744 100644
|
|
||||||
--- a/eng/SourceBuild.props
|
|
||||||
+++ b/eng/SourceBuild.props
|
|
||||||
@@ -11,7 +11,7 @@
|
|
||||||
-->
|
|
||||||
<Target Name="ConfigureInnerBuildArg" BeforeTargets="GetSourceBuildCommandConfiguration">
|
|
||||||
<PropertyGroup>
|
|
||||||
- <InnerBuildArgs>$(InnerBuildArgs) /p:Projects="$(InnerSourceBuildRepoRoot)\Compilers.sln"</InnerBuildArgs>
|
|
||||||
+ <InnerBuildArgs>$(InnerBuildArgs) /p:Projects="$(InnerSourceBuildRepoRoot)\Roslyn.sln"</InnerBuildArgs>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Target>
|
|
||||||
|
|
||||||
diff --git a/eng/Versions.props b/eng/Versions.props
|
|
||||||
index 679e77c5e19..96b3981a12c 100644
|
|
||||||
--- a/eng/Versions.props
|
|
||||||
+++ b/eng/Versions.props
|
|
||||||
@@ -38,7 +38,7 @@
|
|
||||||
<ILDAsmPackageVersion>5.0.0-preview.1.20112.8</ILDAsmPackageVersion>
|
|
||||||
<MicrosoftVisualStudioLanguageServerProtocolPackagesVersion>17.0.5133-g7b8c8bd49d</MicrosoftVisualStudioLanguageServerProtocolPackagesVersion>
|
|
||||||
<MicrosoftVisualStudioShellPackagesVersion>17.0.0-previews-4-31709-430</MicrosoftVisualStudioShellPackagesVersion>
|
|
||||||
- <MicrosoftBuildPackagesVersion>16.5.0</MicrosoftBuildPackagesVersion>
|
|
||||||
+ <RefOnlyMicrosoftBuildPackagesVersion>16.5.0</RefOnlyMicrosoftBuildPackagesVersion>
|
|
||||||
<!-- The version of Roslyn we build Source Generators against that are built in this
|
|
||||||
repository. This must be lower than MicrosoftNetCompilersToolsetVersion,
|
|
||||||
but not higher than our minimum dogfoodable Visual Studio version, or else
|
|
||||||
@@ -60,11 +60,18 @@
|
|
||||||
<FakeSignVersion>0.9.2</FakeSignVersion>
|
|
||||||
<HumanizerCoreVersion>2.2.0</HumanizerCoreVersion>
|
|
||||||
<ICSharpCodeDecompilerVersion>6.1.0.5902</ICSharpCodeDecompilerVersion>
|
|
||||||
- <MicrosoftBuildVersion>$(MicrosoftBuildPackagesVersion)</MicrosoftBuildVersion>
|
|
||||||
- <MicrosoftBuildFrameworkVersion>$(MicrosoftBuildPackagesVersion)</MicrosoftBuildFrameworkVersion>
|
|
||||||
<MicrosoftBuildLocatorVersion>1.2.6</MicrosoftBuildLocatorVersion>
|
|
||||||
- <MicrosoftBuildRuntimeVersion>$(MicrosoftBuildPackagesVersion)</MicrosoftBuildRuntimeVersion>
|
|
||||||
- <MicrosoftBuildTasksCoreVersion>$(MicrosoftBuildPackagesVersion)</MicrosoftBuildTasksCoreVersion>
|
|
||||||
+ <!--
|
|
||||||
+ SourceBuild will requires that all dependencies also be source buildable. We are referencing a
|
|
||||||
+ version of MSBuild that is not SourceBuild compatible, which makes our build incompatible. Since we only
|
|
||||||
+ use these dependencies as reference assemblies, we can opt them out of this behavior by having their
|
|
||||||
+ version variable be prefixed with `RefOnly`. This will allow us to reference these libraries and remain
|
|
||||||
+ Source Build compatible.
|
|
||||||
+ -->
|
|
||||||
+ <RefOnlyMicrosoftBuildVersion>$(RefOnlyMicrosoftBuildPackagesVersion)</RefOnlyMicrosoftBuildVersion>
|
|
||||||
+ <RefOnlyMicrosoftBuildFrameworkVersion>$(RefOnlyMicrosoftBuildPackagesVersion)</RefOnlyMicrosoftBuildFrameworkVersion>
|
|
||||||
+ <RefOnlyMicrosoftBuildRuntimeVersion>$(RefOnlyMicrosoftBuildPackagesVersion)</RefOnlyMicrosoftBuildRuntimeVersion>
|
|
||||||
+ <RefOnlyMicrosoftBuildTasksCoreVersion>$(RefOnlyMicrosoftBuildPackagesVersion)</RefOnlyMicrosoftBuildTasksCoreVersion>
|
|
||||||
<NuGetVisualStudioContractsVersion>6.0.0-preview.0.15</NuGetVisualStudioContractsVersion>
|
|
||||||
<MicrosoftVisualStudioRpcContractsVersion>16.10.23</MicrosoftVisualStudioRpcContractsVersion>
|
|
||||||
<!--
|
|
||||||
diff --git a/src/Features/Directory.Build.props b/src/CodeStyle/Core/Tests/Directory.Build.props
|
|
||||||
similarity index 100%
|
|
||||||
copy from src/Features/Directory.Build.props
|
|
||||||
copy to src/CodeStyle/Core/Tests/Directory.Build.props
|
|
||||||
diff --git a/src/Compilers/Core/MSBuildTask/Microsoft.Build.Tasks.CodeAnalysis.csproj b/src/Compilers/Core/MSBuildTask/Microsoft.Build.Tasks.CodeAnalysis.csproj
|
|
||||||
index 8c6bb122fb2..cc743d09032 100644
|
|
||||||
--- a/src/Compilers/Core/MSBuildTask/Microsoft.Build.Tasks.CodeAnalysis.csproj
|
|
||||||
+++ b/src/Compilers/Core/MSBuildTask/Microsoft.Build.Tasks.CodeAnalysis.csproj
|
|
||||||
@@ -11,7 +11,7 @@
|
|
||||||
<AssemblyVersion/>
|
|
||||||
<!-- CA1819 (Properties should not return arrays) disabled as it is very common across this project. -->
|
|
||||||
<NoWarn>$(NoWarn);CA1819</NoWarn>
|
|
||||||
-
|
|
||||||
+
|
|
||||||
<!-- NuGet -->
|
|
||||||
<IsPackable>true</IsPackable>
|
|
||||||
<PackageId>Microsoft.CodeAnalysis.Build.Tasks</PackageId>
|
|
||||||
@@ -51,8 +51,8 @@
|
|
||||||
<EmbeddedResource Update="ErrorString.resx" GenerateSource="true" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" ExcludeAssets="Runtime" />
|
|
||||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" ExcludeAssets="Runtime" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" ExcludeAssets="Runtime" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" ExcludeAssets="Runtime" />
|
|
||||||
<PackageReference Include="System.IO.Pipes.AccessControl" Version="$(SystemIOPipesAccessControlVersion)" Condition="'$(TargetFramework)' == 'netcoreapp3.1'" />
|
|
||||||
<PackageReference Include="System.Memory" Version="$(SystemMemoryVersion)" Condition="'$(TargetFramework)' != 'netcoreapp3.1'" />
|
|
||||||
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="$(SystemRuntimeCompilerServicesUnsafeVersion)" Condition="'$(TargetFramework)' != 'netcoreapp3.1'" />
|
|
||||||
diff --git a/src/Compilers/Core/MSBuildTaskTests/Microsoft.Build.Tasks.CodeAnalysis.UnitTests.csproj b/src/Compilers/Core/MSBuildTaskTests/Microsoft.Build.Tasks.CodeAnalysis.UnitTests.csproj
|
|
||||||
index 9744f538e6d..1d515f35f81 100644
|
|
||||||
--- a/src/Compilers/Core/MSBuildTaskTests/Microsoft.Build.Tasks.CodeAnalysis.UnitTests.csproj
|
|
||||||
+++ b/src/Compilers/Core/MSBuildTaskTests/Microsoft.Build.Tasks.CodeAnalysis.UnitTests.csproj
|
|
||||||
@@ -27,9 +27,9 @@
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="System.Collections.Immutable" Version="$(SystemCollectionsImmutableVersion)" />
|
|
||||||
<PackageReference Include="Moq" Version="$(MoqVersion)" />
|
|
||||||
- <PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildVersion)" />
|
|
||||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" />
|
|
||||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
|
||||||
<PackageReference Include="System.Threading.Tasks.Dataflow" Version="$(SystemThreadingTasksDataflowVersion)" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
diff --git a/src/Compilers/Extension/Roslyn.Compilers.Extension.csproj b/src/Compilers/Extension/Roslyn.Compilers.Extension.csproj
|
|
||||||
index 3644afb8c2f..ed4259ec61b 100644
|
|
||||||
--- a/src/Compilers/Extension/Roslyn.Compilers.Extension.csproj
|
|
||||||
+++ b/src/Compilers/Extension/Roslyn.Compilers.Extension.csproj
|
|
||||||
@@ -115,9 +115,9 @@
|
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Interop" Version="$(MicrosoftVisualStudioInteropVersion)" />
|
|
||||||
<PackageReference Include="Microsoft.VisualStudio.ProjectSystem.Managed" Version="$(MicrosoftVisualStudioProjectSystemManagedVersion)" />
|
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Shell.15.0" Version="$(MicrosoftVisualStudioShell150Version)" />
|
|
||||||
- <PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildVersion)" />
|
|
||||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" />
|
|
||||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" />
|
|
||||||
<PackageReference Include="Microsoft.VisualStudio.SDK.Analyzers" Version="$(MicrosoftVisualStudioSDKAnalyzersVersion)" PrivateAssets="all" />
|
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Threading" Version="$(MicrosoftVisualStudioThreadingVersion)" />
|
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Validation" Version="$(MicrosoftVisualStudioValidationVersion)" />
|
|
||||||
diff --git a/src/Features/Core/Portable/Microsoft.CodeAnalysis.Features.csproj b/src/Features/Core/Portable/Microsoft.CodeAnalysis.Features.csproj
|
|
||||||
index 1af351cc77b..8ecad0bac56 100644
|
|
||||||
--- a/src/Features/Core/Portable/Microsoft.CodeAnalysis.Features.csproj
|
|
||||||
+++ b/src/Features/Core/Portable/Microsoft.CodeAnalysis.Features.csproj
|
|
||||||
@@ -7,7 +7,7 @@
|
|
||||||
<TargetFrameworks>netcoreapp3.1;netstandard2.0</TargetFrameworks>
|
|
||||||
<ApplyNgenOptimization Condition="'$(TargetFramework)' == 'netstandard2.0'">full</ApplyNgenOptimization>
|
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
||||||
-
|
|
||||||
+
|
|
||||||
<!-- NuGet -->
|
|
||||||
<IsPackable>true</IsPackable>
|
|
||||||
<PackageDescription>
|
|
||||||
diff --git a/src/Features/Directory.Build.props b/src/Features/LanguageServer/Directory.Build.props
|
|
||||||
similarity index 100%
|
|
||||||
copy from src/Features/Directory.Build.props
|
|
||||||
copy to src/Features/LanguageServer/Directory.Build.props
|
|
||||||
diff --git a/src/Features/Directory.Build.props b/src/Features/Lsif/Directory.Build.props
|
|
||||||
similarity index 100%
|
|
||||||
copy from src/Features/Directory.Build.props
|
|
||||||
copy to src/Features/Lsif/Directory.Build.props
|
|
||||||
diff --git a/src/Features/Directory.Build.props b/src/NuGet/VisualStudio/Directory.Build.props
|
|
||||||
similarity index 100%
|
|
||||||
rename from src/Features/Directory.Build.props
|
|
||||||
rename to src/NuGet/VisualStudio/Directory.Build.props
|
|
||||||
diff --git a/src/Tools/AnalyzerRunner/AnalyzerRunner.csproj b/src/Tools/AnalyzerRunner/AnalyzerRunner.csproj
|
|
||||||
index 6e1cbe46285..8ca3cbb28f0 100644
|
|
||||||
--- a/src/Tools/AnalyzerRunner/AnalyzerRunner.csproj
|
|
||||||
+++ b/src/Tools/AnalyzerRunner/AnalyzerRunner.csproj
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="$(SQLitePCLRawbundle_greenVersion)" PrivateAssets="all" />
|
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Composition" Version="$(MicrosoftVisualStudioCompositionVersion)" />
|
|
||||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" ExcludeAssets="Runtime" PrivateAssets="All" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" ExcludeAssets="Runtime" PrivateAssets="All" />
|
|
||||||
<PackageReference Include="Microsoft.Build.Locator" Version="$(MicrosoftBuildLocatorVersion)" />
|
|
||||||
<PackageReference Include="System.Buffers" Version="$(SystemBuffersVersion)" />
|
|
||||||
<PackageReference Include="System.ComponentModel.Composition" Version="$(SystemComponentModelCompositionVersion)" />
|
|
||||||
diff --git a/src/Tools/BuildBoss/ProjectCheckerUtil.cs b/src/Tools/BuildBoss/ProjectCheckerUtil.cs
|
|
||||||
index e571afede4a..0cb613b77a6 100644
|
|
||||||
--- a/src/Tools/BuildBoss/ProjectCheckerUtil.cs
|
|
||||||
+++ b/src/Tools/BuildBoss/ProjectCheckerUtil.cs
|
|
||||||
@@ -157,6 +157,7 @@ private IEnumerable<string> GetAllowedPackageReferenceVersions(PackageReference
|
|
||||||
var name = packageReference.Name.Replace(".", "").Replace("-", "");
|
|
||||||
yield return $"$({name}Version)";
|
|
||||||
yield return $"$({name}FixedVersion)";
|
|
||||||
+ yield return $"$(RefOnly{name}Version)";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -234,8 +235,8 @@ private bool CheckProjectReferencesComplete(TextWriter textWriter, IEnumerable<P
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
- /// Unit test projects should not reference each other. In order for unit tests to be run / F5 they must be
|
|
||||||
- /// modeled as deployment projects. Having Unit Tests reference each other hurts that because it ends up
|
|
||||||
+ /// Unit test projects should not reference each other. In order for unit tests to be run / F5 they must be
|
|
||||||
+ /// modeled as deployment projects. Having Unit Tests reference each other hurts that because it ends up
|
|
||||||
/// putting two copies of the unit test DLL into the UnitTest folder:
|
|
||||||
///
|
|
||||||
/// 1. UnitTests\Current\TheUnitTest\TheUnitTest.dll
|
|
||||||
@@ -244,7 +245,7 @@ private bool CheckProjectReferencesComplete(TextWriter textWriter, IEnumerable<P
|
|
||||||
/// TheOtherTests.dll
|
|
||||||
///
|
|
||||||
/// This is problematic as all of our tools do directory based searches for unit test DLLs. Hence they end up
|
|
||||||
- /// getting counted twice.
|
|
||||||
+ /// getting counted twice.
|
|
||||||
///
|
|
||||||
/// Consideration was given to fixing up all of the tools but it felt like fighting against the grain. Pretty
|
|
||||||
/// much every repo has this practice.
|
|
||||||
diff --git a/src/Tools/IdeCoreBenchmarks/IdeCoreBenchmarks.csproj b/src/Tools/IdeCoreBenchmarks/IdeCoreBenchmarks.csproj
|
|
||||||
index 305f94cba17..e2373f8a3d6 100644
|
|
||||||
--- a/src/Tools/IdeCoreBenchmarks/IdeCoreBenchmarks.csproj
|
|
||||||
+++ b/src/Tools/IdeCoreBenchmarks/IdeCoreBenchmarks.csproj
|
|
||||||
@@ -29,7 +29,7 @@
|
|
||||||
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="$(BenchmarkDotNetDiagnosticsWindowsVersion)" />
|
|
||||||
<!-- This is to avoid a version conflict during build -->
|
|
||||||
<PackageReference Include="System.CodeDom" Version="$(SystemCodeDomVersion)" />
|
|
||||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" ExcludeAssets="Runtime" PrivateAssets="All" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" ExcludeAssets="Runtime" PrivateAssets="All" />
|
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Composition" Version="$(MicrosoftVisualStudioCompositionVersion)" />
|
|
||||||
<PackageReference Include="Microsoft.Build.Locator" Version="$(MicrosoftBuildLocatorVersion)" />
|
|
||||||
<PackageReference Include="System.Buffers" Version="$(SystemBuffersVersion)" />
|
|
||||||
diff --git a/src/Workspaces/Core/MSBuild/Microsoft.CodeAnalysis.Workspaces.MSBuild.csproj b/src/Workspaces/Core/MSBuild/Microsoft.CodeAnalysis.Workspaces.MSBuild.csproj
|
|
||||||
index 3bd6d6398e3..a65fc35f1c3 100644
|
|
||||||
--- a/src/Workspaces/Core/MSBuild/Microsoft.CodeAnalysis.Workspaces.MSBuild.csproj
|
|
||||||
+++ b/src/Workspaces/Core/MSBuild/Microsoft.CodeAnalysis.Workspaces.MSBuild.csproj
|
|
||||||
@@ -7,8 +7,6 @@
|
|
||||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
||||||
<TargetFrameworks>netcoreapp3.1;net472</TargetFrameworks>
|
|
||||||
<DefineConstants>$(DefineConstants);WORKSPACE_MSBUILD</DefineConstants>
|
|
||||||
- <ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
|
|
||||||
-
|
|
||||||
<!-- NuGet -->
|
|
||||||
<IsPackable>true</IsPackable>
|
|
||||||
<PackageDescription>
|
|
||||||
@@ -24,9 +22,9 @@
|
|
||||||
</Compile>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
- <PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildVersion)" ExcludeAssets="Runtime" PrivateAssets="All" />
|
|
||||||
- <PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" ExcludeAssets="Runtime" />
|
|
||||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" ExcludeAssets="Runtime" PrivateAssets="All" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" ExcludeAssets="Runtime" PrivateAssets="All" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build.Framework" Version="$(RefOnlyMicrosoftBuildFrameworkVersion)" ExcludeAssets="Runtime" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" ExcludeAssets="Runtime" PrivateAssets="All" />
|
|
||||||
<PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
diff --git a/src/Workspaces/MSBuildTest/Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests.csproj b/src/Workspaces/MSBuildTest/Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests.csproj
|
|
||||||
index 3d0c6e993c0..06773c65e8d 100644
|
|
||||||
--- a/src/Workspaces/MSBuildTest/Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests.csproj
|
|
||||||
+++ b/src/Workspaces/MSBuildTest/Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests.csproj
|
|
||||||
@@ -27,8 +27,8 @@
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Setup.Configuration.Interop" Version="$(MicrosoftVisualStudioSetupConfigurationInteropVersion)" />
|
|
||||||
- <PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildVersion)" ExcludeAssets="Runtime" PrivateAssets="All" />
|
|
||||||
- <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" ExcludeAssets="Runtime" PrivateAssets="All" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build" Version="$(RefOnlyMicrosoftBuildVersion)" ExcludeAssets="Runtime" PrivateAssets="All" />
|
|
||||||
+ <PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(RefOnlyMicrosoftBuildTasksCoreVersion)" ExcludeAssets="Runtime" PrivateAssets="All" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="System.Xaml">
|
|
||||||
--
|
|
||||||
2.31.1
|
|
||||||
|
|
Loading…
Reference in a new issue