@@ -162,10 +162,9 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do
162162 <!-- MSbuild works out the assembly references -->
163163 </PropertyGroup >
164164
165- <!-- Target MonoAndroid -->
166- <PropertyGroup Condition =" '$(TargetFramework)'=='monodroid'" >
167- <!-- <TargetFrameworkVersion>v1.0</TargetFrameworkVersion>-->
168- <!-- <TargetFrameworkIdentifier>MonoAndroid</TargetFrameworkIdentifier> -->
165+
166+ <!-- MonoAndroid, MonoTouch, XamarinWatchOS, XamarinTVOS -->
167+ <PropertyGroup Condition =" ('$(TargetFramework)'=='monodroid') OR ('$(TargetFramework)'=='monotouch') OR ('$(TargetFramework)'=='xamarinwatchos') OR ('$(TargetFramework)'=='xamarintvos')" >
169168 <TargetFrameworkOutputDirectory >$(TargetFramework)</TargetFrameworkOutputDirectory >
170169 <DefineConstants >$(DefineConstants);FSHARP_CORE_4_5</DefineConstants >
171170 <DefineConstants >$(DefineConstants);FX_ATLEAST_45</DefineConstants >
@@ -179,63 +178,26 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do
179178 <DefineConstants >$(DefineConstants);FX_NO_REFLECTION_EMIT</DefineConstants >
180179 <DefineConstants >$(DefineConstants);FX_NO_BIGINT</DefineConstants >
181180 <DefineConstants >$(DefineConstants);FX_NO_STRUCTURAL_EQUALITY</DefineConstants >
181+ <AssemblySearchPaths >$(FSharpSourcesRoot)\..\dependencies\mono\2.1\XamarinWatchOS;$(AssemblySearchPaths)</AssemblySearchPaths >
182+ </PropertyGroup >
183+
184+ <!-- Target MonoAndroid -->
185+ <PropertyGroup Condition =" '$(TargetFramework)'=='monodroid'" >
182186 <AssemblySearchPaths >$(FSharpSourcesRoot)\..\dependencies\mono\2.1\MonoAndroid;$(AssemblySearchPaths)</AssemblySearchPaths >
183187 </PropertyGroup >
184188
185- <!-- Target MonoTouch (should be identical to MonoAndroid configurations, though we sanity check -->
186- <!-- by building against the MonoTouch mscorlib) -->
189+ <!-- Target MonoTouch: identical to MonoAndroid configurations, though we sanity check by building against the MonoTouch mscorlib -->
187190 <PropertyGroup Condition =" '$(TargetFramework)'=='monotouch'" >
188- <!-- <TargetFrameworkVersion>v1.0</TargetFrameworkVersion>-->
189- <!-- <TargetFrameworkIdentifier>MonoTouch</TargetFrameworkIdentifier> -->
190- <TargetFrameworkOutputDirectory >$(TargetFramework)</TargetFrameworkOutputDirectory >
191- <DefineConstants >$(DefineConstants);FSHARP_CORE_4_5</DefineConstants >
192- <DefineConstants >$(DefineConstants);FX_ATLEAST_45</DefineConstants >
193- <DefineConstants >$(DefineConstants);FX_ATLEAST_40</DefineConstants >
194- <DefineConstants >$(DefineConstants);FX_ATLEAST_35</DefineConstants >
195- <DefineConstants >$(DefineConstants);FX_ATLEAST_LINQ</DefineConstants >
196- <DefineConstants >$(DefineConstants);QUERIES_IN_FSLIB</DefineConstants >
197- <DefineConstants >$(DefineConstants);PUT_TYPE_PROVIDERS_IN_FSCORE;</DefineConstants >
198- <DefineConstants >$(DefineConstants);FX_NO_REFLECTION_EMIT</DefineConstants >
199- <DefineConstants >$(DefineConstants);FX_NO_BIGINT</DefineConstants >
200- <DefineConstants >$(DefineConstants);FX_NO_STRUCTURAL_EQUALITY</DefineConstants >
201191 <AssemblySearchPaths >$(FSharpSourcesRoot)\..\dependencies\mono\2.1\MonoTouch;$(AssemblySearchPaths)</AssemblySearchPaths >
202192 </PropertyGroup >
203-
204- <!-- Target XamarinWatchOS (should be identical to MonoTouch configurations, though we sanity check -->
205- <!-- by building against the Xamarin.WatchOS mscorlib) -->
193+
194+ <!-- Target XamarinWatchOS: identical to MonoTouch configurations, though we sanity check by building against the Xamarin.WatchOS mscorlib -->
206195 <PropertyGroup Condition =" '$(TargetFramework)'=='xamarinwatchos'" >
207- <!-- <TargetFrameworkVersion>v1.0</TargetFrameworkVersion>-->
208- <!-- <TargetFrameworkIdentifier>Xamarin.WatchOS</TargetFrameworkIdentifier> -->
209- <TargetFrameworkOutputDirectory >$(TargetFramework)</TargetFrameworkOutputDirectory >
210- <DefineConstants >$(DefineConstants);FSHARP_CORE_4_5</DefineConstants >
211- <DefineConstants >$(DefineConstants);FX_ATLEAST_45</DefineConstants >
212- <DefineConstants >$(DefineConstants);FX_ATLEAST_40</DefineConstants >
213- <DefineConstants >$(DefineConstants);FX_ATLEAST_35</DefineConstants >
214- <DefineConstants >$(DefineConstants);FX_ATLEAST_LINQ</DefineConstants >
215- <DefineConstants >$(DefineConstants);QUERIES_IN_FSLIB</DefineConstants >
216- <DefineConstants >$(DefineConstants);PUT_TYPE_PROVIDERS_IN_FSCORE;</DefineConstants >
217- <DefineConstants >$(DefineConstants);FX_NO_REFLECTION_EMIT</DefineConstants >
218- <DefineConstants >$(DefineConstants);FX_NO_BIGINT</DefineConstants >
219- <DefineConstants >$(DefineConstants);FX_NO_STRUCTURAL_EQUALITY</DefineConstants >
220196 <AssemblySearchPaths >$(FSharpSourcesRoot)\..\dependencies\mono\2.1\XamarinWatchOS;$(AssemblySearchPaths)</AssemblySearchPaths >
221197 </PropertyGroup >
222198
223- <!-- Target XamarinTVOS (should be identical to MonoTouch configurations, though we sanity check -->
224- <!-- by building against the Xamarin.TVOS mscorlib) -->
199+ <!-- Target XamarinTVOS: identical to MonoTouch configurations, though we sanity check by building against the Xamarin.TVOS mscorlib -->
225200 <PropertyGroup Condition =" '$(TargetFramework)'=='xamarintvos'" >
226- <!-- <TargetFrameworkVersion>v1.0</TargetFrameworkVersion>-->
227- <!-- <TargetFrameworkIdentifier>Xamarin.TVOS</TargetFrameworkIdentifier> -->
228- <TargetFrameworkOutputDirectory >$(TargetFramework)</TargetFrameworkOutputDirectory >
229- <DefineConstants >$(DefineConstants);FSHARP_CORE_4_5</DefineConstants >
230- <DefineConstants >$(DefineConstants);FX_ATLEAST_45</DefineConstants >
231- <DefineConstants >$(DefineConstants);FX_ATLEAST_40</DefineConstants >
232- <DefineConstants >$(DefineConstants);FX_ATLEAST_35</DefineConstants >
233- <DefineConstants >$(DefineConstants);FX_ATLEAST_LINQ</DefineConstants >
234- <DefineConstants >$(DefineConstants);QUERIES_IN_FSLIB</DefineConstants >
235- <DefineConstants >$(DefineConstants);PUT_TYPE_PROVIDERS_IN_FSCORE;</DefineConstants >
236- <DefineConstants >$(DefineConstants);FX_NO_REFLECTION_EMIT</DefineConstants >
237- <DefineConstants >$(DefineConstants);FX_NO_BIGINT</DefineConstants >
238- <DefineConstants >$(DefineConstants);FX_NO_STRUCTURAL_EQUALITY</DefineConstants >
239201 <AssemblySearchPaths >$(FSharpSourcesRoot)\..\dependencies\mono\2.1\XamarinTVOS;$(AssemblySearchPaths)</AssemblySearchPaths >
240202 </PropertyGroup >
241203
0 commit comments