Welcome to mirror list, hosted at ThFree Co, Russian Federation.

macdoc.csproj - github.com/xamarin/macdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 25907d2dfbabb014ccc55b87e4330c38206083ca (plain)
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>10.0.0</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{87641BCE-5461-4802-BEA4-53D1BCAC3D06}</ProjectGuid>
    <ProjectTypeGuids>{A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
    <OutputType>Exe</OutputType>
    <RootNamespace>macdoc</RootNamespace>
    <AssemblyName>macdoc</AssemblyName>
    <LastXamMacNagTime>12/11/2012 10:17:55 PM</LastXamMacNagTime>
    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>True</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>False</Optimize>
    <OutputPath>bin\Debug</OutputPath>
    <DefineConstants>DEBUG</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <ConsolePause>False</ConsolePause>
    <EnableCodeSigning>False</EnableCodeSigning>
    <CreatePackage>False</CreatePackage>
    <EnablePackageSigning>False</EnablePackageSigning>
    <IncludeMonoRuntime>False</IncludeMonoRuntime>
    <UseSGen>False</UseSGen>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>none</DebugType>
    <Optimize>False</Optimize>
    <OutputPath>bin\Release</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <ConsolePause>False</ConsolePause>
    <EnableCodeSigning>False</EnableCodeSigning>
    <CreatePackage>False</CreatePackage>
    <EnablePackageSigning>False</EnablePackageSigning>
    <IncludeMonoRuntime>False</IncludeMonoRuntime>
    <UseHardenedRuntime>True</UseHardenedRuntime>
    <UseSGen>False</UseSGen>
    <MonoBundlingExtraArgs>--embed-mono=false --registrar=dynamic</MonoBundlingExtraArgs>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Xml" />
    <Reference Include="System.Core" />
    <Reference Include="System.Xml.Linq" />
    <Reference Include="monodoc">
      <HintPath>lib\monodoc.dll</HintPath>
    </Reference>
    <Reference Include="Xamarin.Mac" />
    <Reference Include="System.Configuration" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="MyDocument.cs">
      <DependentUpon>MyDocument.xib</DependentUpon>
    </Compile>
    <Compile Include="MyDocument.xib.designer.cs">
      <DependentUpon>MyDocument.xib</DependentUpon>
    </Compile>
    <Compile Include="Main.cs" />
    <Compile Include="AppDelegate.cs">
      <DependentUpon>MainMenu.xib</DependentUpon>
    </Compile>
    <Compile Include="MainMenu.xib.designer.cs">
      <DependentUpon>MainMenu.xib</DependentUpon>
    </Compile>
    <Compile Include="DocTools.cs" />
    <Compile Include="history.cs" />
    <Compile Include="MonodocDocumentController.cs" />
    <Compile Include="IndexUpdateManager.cs" />
    <Compile Include="BookmarkPopover.cs">
      <DependentUpon>BookmarkPopover.xib</DependentUpon>
    </Compile>
    <Compile Include="BookmarkPopoverController.cs" />
    <Compile Include="BookmarkPopover.designer.cs">
      <DependentUpon>BookmarkPopover.xib</DependentUpon>
    </Compile>
    <Compile Include="BookmarkManager.cs" />
    <Compile Include="BookmarkAssistant.cs">
      <DependentUpon>BookmarkAssistant.xib</DependentUpon>
    </Compile>
    <Compile Include="BookmarkAssistantController.cs" />
    <Compile Include="BookmarkAssistant.designer.cs">
      <DependentUpon>BookmarkAssistant.xib</DependentUpon>
    </Compile>
    <Compile Include="IndexSearcher.cs" />
    <Compile Include="MonodocDataSources.cs" />
    <Compile Include="RootLauncher.cs" />
    <Compile Include="WebViewExtraordinaire.cs" />
    <Compile Include="WebViewExtraordinaire.designer.cs">
      <DependentUpon>WebViewExtraordinaire.cs</DependentUpon>
    </Compile>
    <Compile Include="FindBarExtraordinaire.cs" />
    <Compile Include="FindBarExtraordinaireController.cs" />
    <Compile Include="FindBarExtraordinaire.designer.cs">
      <DependentUpon>FindBarExtraordinaire.cs</DependentUpon>
    </Compile>
    <Compile Include="ProcessUtils.cs" />
    <Compile Include="AppleDocMergeWindow.cs" />
    <Compile Include="AppleDocMergeWindowController.cs" />
    <Compile Include="AppleDocMergeWindow.designer.cs">
      <DependentUpon>AppleDocMergeWindow.cs</DependentUpon>
    </Compile>
    <Compile Include="Logger.cs" />
    <Compile Include="Product.cs" />
  </ItemGroup>
  <ItemGroup>
    <InterfaceDefinition Include="MyDocument.xib" />
    <InterfaceDefinition Include="MainMenu.xib" />
    <InterfaceDefinition Include="BookmarkPopover.xib" />
    <InterfaceDefinition Include="BookmarkAssistant.xib" />
    <InterfaceDefinition Include="FindBarExtraordinaire.xib" />
    <InterfaceDefinition Include="AppleDocMergeWindow.xib" />
  </ItemGroup>
  <ItemGroup>
    <None Include="Info.plist" />
    <None Include="Entitlements.plist" />
  </ItemGroup>
  <ItemGroup>
    <Content Include="monodoc.icns" />
    <Content Include="Credits.rtf" />
  </ItemGroup>
  <Import Project="$(MSBuildExtensionsPath)\Xamarin\Mac\Xamarin.Mac.CSharp.targets" />

  <!--Since monodoc.dll is using System.Configuration.dll, we can't use Mobile profile + Linker.
      Which results in 34MB MacDoc.app file size which increases Xamarin Studio.dmg file.
      Way to reduce this size we use system mono and -embed-mono=false.
      To furter reduce this size we invoke DeleteGacFiles target to remove all GAC dlls.
      Which gets us down to 16.6MB of which Xamarin.Mac.dll is 14.1MB-->
  <PropertyGroup>
    <CreateAppBundleDependsOn>$(CreateAppBundleDependsOn);DeleteGacFiles</CreateAppBundleDependsOn>
  </PropertyGroup>
  <Target Name="DeleteGacFiles">
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/ICSharpCode.SharpZipLib.dll" />
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/Mono.Posix.dll" />
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/Mono.Security.dll" />
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/mscorlib.dll" />
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/System.dll" />
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/System.Configuration.dll" />
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/System.Core.dll" />
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/System.Net.Http.dll" />
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/System.Runtime.Serialization.dll" />
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/System.Security.dll" />
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/System.ServiceModel.Internals.dll" />
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/System.Xml.dll" />
      <Delete Files="$(AppBundleDir)/Contents/MonoBundle/System.Xml.Linq.dll" />
  </Target>
</Project>