-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDirectory.Build.props
51 lines (40 loc) · 1.84 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
<Project>
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<LangVersion>latest</LangVersion>
<Version>2.0.0</Version>
<Product>GeneXus</Product>
<Company>GeneXus</Company>
<Authors>$(Company)</Authors>
<Copyright>Copyright © $([System.DateTime]::Now.ToString('yyyy')) $(Company). All Rights Reserved</Copyright>
<AssemblyCompany>$(Company)</AssemblyCompany>
<AssemblyVersion>2.0.0</AssemblyVersion>
<PackageVersion>$(Version)</PackageVersion>
<PackageOutputPath>$(MSBuildThisFileDirectory)_packages\$(Configuration)</PackageOutputPath>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackRelease>true</PackRelease>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RemoveCopyLocalToProjects>true</RemoveCopyLocalToProjects>
</PropertyGroup>
<!-- START : Define a default Readme.md file for NuGet packages -->
<PropertyGroup>
<ProjectNeedsReadme>true</ProjectNeedsReadme>
<ProjectNeedsReadme Condition="Exists('$(MSBuildProjectDirectory)\README.md')">false</ProjectNeedsReadme>
<DefaultReadmeFile>$(MSBuildThisFileDirectory)src\PackageREADME.md</DefaultReadmeFile>
</PropertyGroup>
<PropertyGroup Condition="$(ProjectNeedsReadme) and Exists('$(DefaultReadmeFile)')">
<PackageReadmeFile>PackageREADME.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup Condition="$(ProjectNeedsReadme) and Exists('$(DefaultReadmeFile)')">
<None Include="$(DefaultReadmeFile)" Pack="true" PackagePath="\">
<Link>README.md</Link>
</None>
</ItemGroup>
<!-- END: Define a default Readme.md file for NuGet packages -->
<Target Name="GetPackageVersion">
<Message Text="NuGetPackageVersion:$(PackageVersion)" Importance="high"/>
</Target>
</Project>