Skip to content
This repository has been archived by the owner on Dec 25, 2023. It is now read-only.

Commit

Permalink
Update dependency MSBuild.StructuredLogger to v2.2.2 (#332)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pascal Berger <pascal.berger@swissgrc.com>
  • Loading branch information
renovate[bot] and pascalberger committed Nov 22, 2023
1 parent 2c90079 commit 4c78710
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/Cake.Issues.MsBuild/Cake.Issues.MsBuild.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,22 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="MSBuild.StructuredLogger" Version="2.1.815" />
<PackageReference Include="MSBuild.StructuredLogger" Version="2.2.2" />
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" />
</ItemGroup>

<!--
Workaround to make sure correct Microsoft.Build.Framework.dll version is copied to output for net6.0.
Since it has a ref folder for netstandard2.0 and only target folder for net472 and net7.0, we need to copy it manually for net6.0.
See https://github.com/KirillOsenkov/MSBuildStructuredLog/issues/692.
-->
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.Build.Framework" Version="17.5.0" ExcludeAssets="all" PrivateAssets="all" GeneratePathProperty="true" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.5.0" ExcludeAssets="all" PrivateAssets="all" GeneratePathProperty="true" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<Reference Include="$(PkgMicrosoft_Build_Framework)\lib\net472\Microsoft.Build.Framework.dll" />
<Reference Include="$(PkgMicrosoft_Build_Utilities_Core)\lib\net472\Microsoft.Build.Utilities.Core.dll" />
</ItemGroup>
</Project>

0 comments on commit 4c78710

Please sign in to comment.