forked from dotnet/BenchmarkDotNet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBenchmarkDotNet.Weaver.csproj
More file actions
34 lines (31 loc) · 1.63 KB
/
BenchmarkDotNet.Weaver.csproj
File metadata and controls
34 lines (31 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!--
If any changes are made to this project, increment the WeaverVersionSuffix in the common.props file,
then run `build.cmd pack-weaver`.
-->
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\build\common.props" />
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<VersionSuffix Condition="'$(IsFullPack)' != 'true'">$(VersionSuffix)$(WeaverVersionSuffix)</VersionSuffix>
<OutputPath>$(MSBuildThisFileDirectory)bin\$(Configuration)</OutputPath>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<IncludeBuildOutput>false</IncludeBuildOutput>
<NoWarn>$(NoWarn);NU5100;NU5128</NoWarn>
<!-- AsmResolver is not signed. -->
<SignAssembly>false</SignAssembly>
<DelaySign>false</DelaySign>
<!-- Fix error NU5017: Cannot create a package that has no dependencies nor content. -->
<IsPackable Condition="'$(IsFullPack)' == 'true'">false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AsmResolver.DotNet" Version="6.0.0-beta.5" PrivateAssets="all" />
<PackageReference Include="Microsoft.Build.Framework" Version="18.0.2" PrivateAssets="all" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="18.0.2" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<!-- Include .targets file and all DLLs in the output directory in the NuGet package -->
<Content Include="$(MSBuildThisFileDirectory)buildTransitive\**\*.targets" Pack="true" PackagePath="buildTransitive" />
<Content Include="$(OutputPath)**\*.dll" Pack="true" PackagePath="tasks/$(TargetFramework)" />
<None Remove="packages\**" />
</ItemGroup>
</Project>