Skip to content

Commit

Permalink
Opt out of metadata trimming (#2020)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalStrehovsky committed Jun 22, 2022
1 parent 5e62756 commit b09431c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/BenchmarkDotNet/Toolchains/NativeAot/Generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ private string GenerateProjectForNuGetBuild(BuildPartition buildPartition, Artif
<ItemGroup>
<Compile Include=""{Path.GetFileName(artifactsPaths.ProgramCodePath)}"" Exclude=""bin\**;obj\**;**\*.xproj;packages\**"" />
</ItemGroup>
<ItemGroup>
<TrimmerRootAssembly Include=""BenchmarkDotNet"" />
</ItemGroup>
<ItemGroup>
<PackageReference Include=""Microsoft.DotNet.ILCompiler"" Version=""{ilCompilerVersion}"" />
<ProjectReference Include=""{GetProjectFilePath(buildPartition.RepresentativeBenchmarkCase.Descriptor.Type, logger).FullName}"" />
Expand Down

0 comments on commit b09431c

Please sign in to comment.