-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCommon.Build.props
63 lines (55 loc) · 3.07 KB
/
Common.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
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildThisFileDirectory)Common.props" />
<PropertyGroup>
<!-- Prevent VS2015 from copying files from the GAC to the output folder -->
<DoNotCopyLocalIfInGac>true</DoNotCopyLocalIfInGac>
<BaseIntermediateOutputPath>$(BasePath)artifacts\obj\$(OSPlatform)\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<GenerateAssemblyInfo>True</GenerateAssemblyInfo>
<Deterministic Condition="$(Deterministic) == '' and $(GenerateAssemblyVersion) == 'True'">True</Deterministic>
<Deterministic Condition="$(Deterministic) == ''">False</Deterministic>
<!-- RestoreProjectStyle will be supported in VS for Mac 7.4 -->
<RestoreProjectStyle Condition="'$(RestoreProjectStyle)' == '' AND $(UsePackagesConfig) != 'True'">PackageReference</RestoreProjectStyle>
<DefaultItemExcludes>$(DefaultItemExcludes);**\.DS_Store</DefaultItemExcludes>
<!-- we add this manually in .targets so it doesn't trigger a rebuild each time -->
<GenerateAssemblyFileVersionAttribute>False</GenerateAssemblyFileVersionAttribute>
<!-- GtkSharp package likes to install things during package restore, we don't want that -->
<SkipGtkInstall>True</SkipGtkInstall>
<!-- Ignore errors/warnings about semver 2.0 when packing CI builds and lowercase aliases -->
<NoWarn>$(NoWarn);NU5105;CS8981</NoWarn>
<LangVersion Condition="$(MSBuildProjectExtension) == '.csproj'">10</LangVersion>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>
<!-- support t4 templates in projects -->
<ItemGroup>
<TextTemplate Include="**\*.tt" />
<AvailableItemName Include="TextTemplate" />
</ItemGroup>
<ItemGroup Condition="$(UseGlobalUsings) == 'true'">
<Using Include="System" />
<Using Include="System.Collections" />
<Using Include="System.Collections.Generic" />
<Using Include="System.Collections.ObjectModel" />
<Using Include="System.Collections.Specialized" />
<Using Include="System.ComponentModel" />
<Using Include="System.Diagnostics" />
<Using Include="System.Globalization" />
<Using Include="System.IO" />
<Using Include="System.Linq" />
<Using Include="System.Linq.Expressions" />
<Using Include="System.Reflection" />
<Using Include="System.Runtime.InteropServices" />
<Using Include="System.Runtime.Serialization" />
<Using Include="System.Text" />
<Using Include="System.Text.RegularExpressions" />
<Using Include="System.Threading" />
<Using Include="System.Threading.Tasks" />
<Using Include="Eto.Forms" />
<Using Include="Eto.Drawing" />
<Using Include="Eto.Forms.Container" Alias="Container" />
<Using Include="Eto.Forms.Calendar" Alias="Calendar" />
<Using Include="System.ComponentModel" Alias="sc" />
<Using Include="System.Windows.Input.ICommand" Alias="ICommand" />
</ItemGroup>
<Import Condition="Exists('$(BasePath)..\Eto.Common.props')" Project="$(BasePath)..\Eto.Common.props" />
</Project>