Skip to content

Commit

Permalink
Update MSBuild tasks (#6034)
Browse files Browse the repository at this point in the history
This updates MSBuild to cross-platform tools. In my case that allow me to smoke test changes on Linux
where I occasionally type code.
  • Loading branch information
kant2002 authored Feb 15, 2022
1 parent 4ab5796 commit 16fc19c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions eng/WpfArcadeSdk/tools/ExtendedAssemblyInfo.targets
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@
ItemGroup of fully resolved C# Attribute definitions that are ready to be used in a source file.
-->
<UsingTask TaskName="ParseExtendedAssemblyInfo"
TaskFactory="CodeTaskFactory"
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll">
TaskFactory="RoslynCodeTaskFactory"
AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll">
<ParameterGroup>
<ExtendedAssemblyInfo ParameterType="Microsoft.Build.Framework.ITaskItem[]" Required="true" />
<Result ParameterType="Microsoft.Build.Framework.ITaskItem[]" Output="true" />
Expand All @@ -132,8 +132,6 @@
<Using Namespace="System.Globalization" />
<Using Namespace="System.Linq" />
<Using Namespace="System.Text.RegularExpressions" />
<Reference Include="System.Linq" />
<Reference Include="System.Core" />
<Code Type="Fragment" Language="cs">
<![CDATA[
if (ExtendedAssemblyInfo.Length > 0)
Expand Down

0 comments on commit 16fc19c

Please sign in to comment.