/
CLI_Full.csproj
62 lines (48 loc) · 1.96 KB
/
CLI_Full.csproj
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
60
61
62
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>AxeWindowsCLI</AssemblyName>
<RootNamespace>AxeWindowsCLI</RootNamespace>
<RuntimeIdentifier>win7-x86</RuntimeIdentifier>
<PublishSingleFile>true</PublishSingleFile>
</PropertyGroup>
<PropertyGroup>
<ApplicationManifest>..\CLI\AppManifests\app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<DropMsftSignedFile Include="$(TargetDir)\$(TargetName).exe" />
</ItemGroup>
<PropertyGroup>
<AxeDigitalSign>true</AxeDigitalSign>
</PropertyGroup>
<Import Project="..\..\build\NetStandardRelease.targets" />
<ItemGroup>
<Compile Include="..\CLI\*.cs" Link="*.cs (From CLI)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\CLI\Resources\*.cs" Link="*.cs (From CLI Resources)" />
</ItemGroup>
<ItemGroup>
<Content Include="..\..\thirdpartynotices.html" Link="thirdpartynotices.html">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Content Include="..\CLI\README.MD" Link="README.MD">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<None Include="..\CLI\AppManifests\app.manifest" Link="app.manifest (from CLI)" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Automation\Automation.csproj" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="del $(TargetDir)InteropDummy*.*
copy /y $(ProjectDir)\..\CLI\bin\$(Configuration)\net6.0\CommandLine.dll $(TargetDir)
copy /y $(ProjectDir)\..\CLI\bin\$(Configuration)\net6.0\Newtonsoft.Json.dll $(TargetDir)
copy /y $(ProjectDir)\..\CLI\bin\$(Configuration)\net6.0\AxeWindowsCLI.dll $(TargetDir)" />
</Target>
</Project>