forked from microsoft/PullRequestQuantifier
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPullRequestQuantifier.Client.csproj
More file actions
59 lines (53 loc) · 2.92 KB
/
PullRequestQuantifier.Client.csproj
File metadata and controls
59 lines (53 loc) · 2.92 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<LangVersion>Latest</LangVersion>
<RootNamespace>PullRequestQuantifier.Client</RootNamespace>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Text.Json" Version="9.0.5" />
<PackageReference Include="System.IO.Abstractions" Version="21.2.1" />
<PackageReference Include="Ignore" Version="0.1.50" />
<PackageReference Include="LibGit2Sharp" Version="0.31.0" />
<PackageReference Include="YamlDotNet" Version="13.7.1" />
<PackageReference Include="Stubble.Core" Version="1.10.8" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\PullRequestQuantifier.Abstractions\PullRequestQuantifier.Abstractions.csproj" PrivateAssets="all" />
<ProjectReference Include="..\..\PullRequestQuantifier.Common\PullRequestQuantifier.Common.csproj" PrivateAssets="all" />
<ProjectReference Include="..\..\PullRequestQuantifier.GitEngine\PullRequestQuantifier.GitEngine.csproj" PrivateAssets="all" />
<ProjectReference Include="..\..\PullRequestQuantifier\PullRequestQuantifier.csproj" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Extensions\Mustache\QuantifierComment.mustache">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Include="Extensions\Mustache\ConsoleOutput.mustache">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<PackageReference Update="Nerdbank.GitVersioning" Version="3.6.133" />
</ItemGroup>
<!--
The following solves the problem that 'dotnet pack' does not include the DLLs from referenced projects.
See https://github.com/NuGet/Home/issues/3891 for a description of the problem
and for newer versions / workarounds / built-in methods.
-->
<PropertyGroup>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
</PropertyGroup>
<Target Name="CopyProjectReferencesToPackage" DependsOnTargets="ResolveReferences">
<ItemGroup>
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))" />
</ItemGroup>
</Target>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition=" '$(OS)' == 'Windows_NT' ">
<Exec Command="xcopy /F /R /Y /I "$(ProjectDir)$(OutDir)*.*" "../../distribution/$(ConfigurationName)/$(ProjectName)"" />
</Target>
</Project>