forked from accord-net/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Accord.NET (NETStandard).targets
72 lines (56 loc) · 2.85 KB
/
Accord.NET (NETStandard).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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<Project>
<Import Project="$(SolutionDir)Version.targets" />
<PropertyGroup>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<Authors>César Roberto de Souza, Accord.NET Authors</Authors>
<Company>Accord.NET</Company>
<Product>Accord.NET Framework</Product>
<NeutralLanguage>en</NeutralLanguage>
<SignAssembly>False</SignAssembly>
<AssemblyOriginatorKeyFile>Accord.snk</AssemblyOriginatorKeyFile>
<DelaySign>False</DelaySign>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<CodeAnalysisRuleSet>$(SolutionDir)\Accord.NET.ruleset</CodeAnalysisRuleSet>
<Configurations>Debug;Release;Mono</Configurations>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DocumentationFile></DocumentationFile>
</PropertyGroup>
<!--
<Target Name="SpicNSpan" AfterTargets="Clean">
<RemoveDir Directories="$(BaseIntermediateOutputPath)" />
<RemoveDir Directories="$(BaseOutputPath)" />
</Target>
-->
<ItemGroup>
<Compile Remove="Properties\AssemblyInfo.cs" />
<Compile Remove="Properties\VersionInfo.cs" />
</ItemGroup>
<!-- Feature matrix -->
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.0'
OR '$(TargetFramework)'=='netstandard1.4'">
<DefineConstants>NETSTANDARD;NO_EXCEL;NO_CODE_PROVIDER;NO_BITMAP$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard1.4'">
<DefineConstants>NO_EXPRESSIONS;NO_BINARY_SERIALIZATION;NO_DATA_TABLE;NO_DEFAULT_ENCODING;NO_CULTURE;NO_TRACE;NO_PARALLEL;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
<DefineConstants>$(DefineConstants)</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)'=='net35'">
<DefineConstants>NO_PARALLEL;$(DefineConstants)</DefineConstants>
</PropertyGroup>
<!-- Copy binaries, debug and all other generated files into the /Release or /Debug folders at the project's root -->
<ItemGroup>
<OutputFiles Include="$(ProjectDir)bin\$(Configuration)\$(TargetFramework)\**\*.*" />
</ItemGroup>
<Target Name="CopyToOutputDir" AfterTargets="Build">
<Copy SourceFiles="@(OutputFiles)" DestinationFiles="@(OutputFiles->'$(SolutionDir)..\$(Configuration)\$(TargetFramework)\%(RecursiveDir)%(Filename)%(Extension)')" ContinueOnError="false" />
</Target>
</Project>