-
Notifications
You must be signed in to change notification settings - Fork 9
/
Common.targets
56 lines (49 loc) · 2.7 KB
/
Common.targets
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
<Project>
<Import Project="Revision.targets" />
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Platform>x64</Platform>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DebugSymbols>true</DebugSymbols>
<DebugType>embedded</DebugType>
<EmbedAllSources>true</EmbedAllSources>
<Product>Deep.Net</Product>
<Company>Deep.Net Developers</Company>
<authors>Deep.Net Developers</authors>
<owners>Deep.Net Developers</owners>
<Copyright>Copyright (C) Deep.Net Developers. Licensed under the Apache 2.0 license.</Copyright>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<PackageLicenseUrl>http://www.apache.org/licenses/LICENSE-2.0.txt</PackageLicenseUrl>
<PackageProjectUrl>http://www.deepml.net</PackageProjectUrl>
<PackageOutputPath>$(MSBuildThisFileDirectory)/Packages/$(Configuration)/</PackageOutputPath>
<BaseVersion>0.4</BaseVersion>
<PackageVersion>$(BaseVersion).$(Rev)</PackageVersion>
<AssemblyVersion>$(PackageVersion)</AssemblyVersion>
<AssemblyFileVersion>$(PackageVersion)</AssemblyFileVersion>
<FileVersion>$(PackageVersion)</FileVersion>
</PropertyGroup>
<!-- Workaround for broken assembly info generation in .NET SDK 2.1. -->
<Target Name="WriteAssemblyInfo" BeforeTargets="CoreCompile"
Inputs="$(MSBuildProjectFullPath);$(MSBuildThisFileFullPath);$(MSBuildThisFileDirectory)Revision.targets"
Outputs="_AssemblyInfo.fs">
<ItemGroup>
<AssemblyInfoLine Include="namespace AssemblyInfo"/>
<AssemblyInfoLine Include="open System.Reflection"/>
<AssemblyInfoLine Include="open System.Runtime.InteropServices"/>
<AssemblyInfoLine Include="[<assembly: AssemblyTitle("$(PackageId)")>]"/>
<AssemblyInfoLine Include="[<assembly: AssemblyDescription("$(title)")>]"/>
<AssemblyInfoLine Include="[<assembly: AssemblyCompany("$(Company)")>]"/>
<AssemblyInfoLine Include="[<assembly: AssemblyProduct("$(Product)")>]"/>
<AssemblyInfoLine Include="[<assembly: AssemblyCopyright("$(Copyright)")>]"/>
<AssemblyInfoLine Include="[<assembly: AssemblyVersion("$(AssemblyVersion)")>]"/>
<AssemblyInfoLine Include="[<assembly: AssemblyFileVersion("$(AssemblyFileVersion)")>]"/>
<AssemblyInfoLine Include="do ()"/>
</ItemGroup>
<WriteLinesToFile File="_AssemblyInfo.fs" Overwrite="true"
Lines="@(AssemblyInfoLine)" />
</Target>
<ItemGroup>
<Compile Include="_AssemblyInfo.fs" />
</ItemGroup>
</Project>