-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDirectory.Build.props
68 lines (56 loc) · 3.4 KB
/
Directory.Build.props
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
63
64
65
66
67
68
<!--EXTERNAL_PROPERTIES: RuntimeIdentifier;MSBuildThisFileDirectory-->
<Project>
<PropertyGroup>
<Configurations>Debug;Release</Configurations>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<SignAssembly>True</SignAssembly>
<DelaySign>False</DelaySign>
<AssemblyOriginatorKeyFile Condition="'$(Production)' == 'True'">$(MSBuildThisFileDirectory)\build\dnsshe.snk</AssemblyOriginatorKeyFile>
<Version>0.0.6</Version>
<Copyright>NN, 2021</Copyright>
<RepositoryUrl>https://github.com/NN---/dnsshe</RepositoryUrl>
<Title>dnsshe</Title>
<Authors>NN</Authors>
<Company>NN</Company>
<Product>dnsshe</Product>
<Description>A .NET wrapper for SSH libraries.</Description>
<PackageVersion>$(Version)</PackageVersion>
<PackageProjectUrl>https://github.com/NN---/dnsshe</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>ssh</PackageTags>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>True</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<AnalysisLevel>latest</AnalysisLevel>
<RunAnalyzers>True</RunAnalyzers>
<EnableNETAnalyzers>True</EnableNETAnalyzers>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<DisableImplicitNamespaceImports>True</DisableImplicitNamespaceImports>
<!-- Cross platform definitions -->
<HasRuntimeIdentifier>False</HasRuntimeIdentifier>
<HasRuntimeIdentifier Condition="'$(RuntimeIdentifier)' != ''">True</HasRuntimeIdentifier>
<RuntimeIdentifierWindows>False</RuntimeIdentifierWindows>
<RuntimeIdentifierWindows Condition="$(RuntimeIdentifier.StartsWith('win'))">True</RuntimeIdentifierWindows>
<RuntimeIdentifierLinux>False</RuntimeIdentifierLinux>
<RuntimeIdentifierLinux Condition="$(RuntimeIdentifier.StartsWith('linux'))">True</RuntimeIdentifierLinux>
<RuntimeIdentifierOSX>False</RuntimeIdentifierOSX>
<RuntimeIdentifierOSX Condition="$(RuntimeIdentifier.StartsWith('osx'))">True</RuntimeIdentifierOSX>
<BuildWindows>False</BuildWindows>
<BuildWindows Condition="$([MSBuild]::IsOsPlatform('Windows'))">True</BuildWindows>
<BuildLinux>False</BuildLinux>
<BuildLinux Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' ">True</BuildLinux>
<BuildOSX>False</BuildOSX>
<BuildOSX Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' ">True</BuildOSX>
<DefineConstants Condition="$(RuntimeIdentifierWindows) Or (!$(HasRuntimeIdentifier) And $(BuildWindows))">$(DefineConstants);TARGET_WINDOWS</DefineConstants>
<DefineConstants Condition="$(RuntimeIdentifierLinux) Or (!$(HasRuntimeIdentifier) And $(BuildLinux))">$(DefineConstants);TARGET_LINUX</DefineConstants>
<DefineConstants Condition="$(RuntimeIdentifierOSX) Or (!$(HasRuntimeIdentifier) And $(BuildOSX))">$(DefineConstants);TARGET_OSX</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.0-beta-20204-02" PrivateAssets="All"/>
</ItemGroup>
</Project>