Skip to content

Commit f24602f

Browse files
authored
sbom (#494)
1 parent d4f4b30 commit f24602f

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/Directory.Packages.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<ItemGroup>
77
<PackageVersion Include="MarkdownSnippets.MsBuild" Version="28.0.0" />
88
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="5.0.0" Pinned="true" />
9+
<PackageVersion Include="Microsoft.Sbom.Targets" Version="4.1.5" />
910
<PackageVersion Include="TUnit" Version="1.18.21" />
1011
<PackageVersion Include="ProjectDefaults" Version="1.0.172" />
1112
<PackageVersion Include="Microsoft.Bcl.Memory" Version="10.0.3" />

src/Polyfill/Polyfill.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<NoWarn>$(NoWarn);IDE0180</NoWarn>
77
</PropertyGroup>
88
<ItemGroup>
9+
<PackageReference Include="Microsoft.Sbom.Targets" PrivateAssets="all" Condition="'$(CI)' == 'true'" />
910
<PackageReference Include="ProjectDefaults" PrivateAssets="all" />
1011
<PackageReference Include="System.Memory" />
1112
<PackageReference Include="System.ValueTuple" />

src/PolyfillLib/PolyfillLib.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<TargetFrameworks>net461;net462;net47;net471;net472;net48;net481;netstandard2.0;netstandard2.1;netcoreapp2.0;netcoreapp2.1;netcoreapp2.2;netcoreapp3.0;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0;net10.0;net11.0</TargetFrameworks>
77
</PropertyGroup>
88
<ItemGroup>
9+
<PackageReference Include="Microsoft.Sbom.Targets" PrivateAssets="all" Condition="'$(CI)' == 'true'" />
910
<PackageReference Include="ProjectDefaults" PrivateAssets="all" />
1011
<PackageReference Include="System.Memory" Condition="$(TargetFrameworkIdentifier) == '.NETStandard' or $(TargetFrameworkIdentifier) == '.NETFramework' or $(TargetFramework.StartsWith('netcoreapp'))" />
1112
<PackageReference Include="System.ValueTuple" Condition="$(TargetFramework.StartsWith('net46'))" />

0 commit comments

Comments
 (0)