-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dirigent.Agent.Console.csproj
60 lines (49 loc) · 2.15 KB
/
Dirigent.Agent.Console.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- use net6.0 for linux build... -->
<TargetFramework>net6.0-windows</TargetFramework>
<OutputType>Exe</OutputType>
<DisableWinExeOutputInference>true</DisableWinExeOutputInference>
<Nullable>enable</Nullable>
<Product>Dirigent</Product>
<Version Condition="'$(RELEASE_VERSION)' != ''">$(RELEASE_VERSION)</Version>
<Authors>pjanec</Authors>
<AssemblyName>Dirigent.Agent</AssemblyName>
<IsWindows Condition="'$(TargetFramework)' == 'net6.0-windows'">true</IsWindows>
<!--compile time - only set if compiled on linux...-->
<IsLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</IsLinux>
</PropertyGroup>
<PropertyGroup Condition="'$(IsWindows)'=='true'">
<DefineConstants>Windows</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(IsOSX)'=='true'">
<DefineConstants>OSX</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(IsLinux)'=='true'">
<DefineConstants>Linux</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(IsWindows)'=='true'">
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<ItemGroup>
<Content Include="..\..\config\LocalConfig.xml" Link="LocalConfig.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="..\..\config\SharedConfig.xml" Link="SharedConfig.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<None Include="..\Dirigent.Common\Properties\Settings.settings" Link="Properties\Settings.settings" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.0-preview1" />
<PackageReference Include="log4net" Version="2.0.12" />
</ItemGroup>
<ItemGroup Condition="'$(IsWindows)'=='true'">
<PackageReference Include="Microsoft.Windows.Compatibility" Version="5.0.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Dirigent.Agent.Core\Dirigent.Agent.Core.csproj" />
</ItemGroup>
</Project>