|
23 | 23 | <VersionFileCondition="'$(TargetFramework)' == 'net20'">$(FSharpSourcesRoot)\source-build-version-2.3.0.0</VersionFile> |
24 | 24 | <VersionFileCondition="'$(TargetFramework)' == 'net40'">$(FSharpSourcesRoot)\source-build-version-4.3.0.0</VersionFile> |
25 | 25 | <VersionFileCondition="'$(TargetFramework)' == 'portable-net4+sl4+wp71+win8'">$(FSharpSourcesRoot)\source-build-version-2.3.5.0</VersionFile> |
| 26 | + <VersionFileCondition="'$(TargetFramework)' == 'portable-net45+sl5+win8'">$(FSharpSourcesRoot)\source-build-version-2.3.5.0</VersionFile> |
26 | 27 | <!-- |
27 | 28 | Some other NuGET monikers to support in the future, see http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package#Package_Conventions |
28 | 29 |
|
@@ -131,11 +132,73 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do |
131 | 132 | <AssemblySearchPaths>$(FSharpSourcesRoot)\..\dependencies\mono\2.1;$(AssemblySearchPaths)</AssemblySearchPaths> |
132 | 133 | </PropertyGroup> |
133 | 134 |
|
| 135 | +<!-- Target Portable--> |
| 136 | + <PropertyGroupCondition="'$(TargetFramework)'=='portable-net45+sl5+win8'"> |
| 137 | + |
| 138 | + <TargetFrameworkProfile>Profile47</TargetFrameworkProfile> |
| 139 | + <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
| 140 | + <TargetFrameworkOutputDirectory>$(TargetFramework)</TargetFrameworkOutputDirectory> |
| 141 | + |
| 142 | + <DefineConstants>$(DefineConstants);FSHARP_CORE_PORTABLE</DefineConstants> |
| 143 | + <DefineConstants>$(DefineConstants);FX_NO_CONCURRENT_DICTIONARY</DefineConstants> |
| 144 | + <DefineConstants>$(DefineConstants);FX_ATLEAST_PORTABLE</DefineConstants> |
| 145 | + <DefineConstants>$(DefineConstants);FX_NO_ARRAY_LONG_LENGTH</DefineConstants> |
| 146 | + <DefineConstants>$(DefineConstants);FX_NO_DEBUG_PROXIES</DefineConstants> |
| 147 | + <DefineConstants>$(DefineConstants);FX_NO_EXIT</DefineConstants> |
| 148 | + <DefineConstants>$(DefineConstants);FX_NO_CHAR_PARSE</DefineConstants> |
| 149 | + <DefineConstants>$(DefineConstants);FX_NO_DEFAULT_DEPENDENCY_TYPE</DefineConstants> |
| 150 | + <DefineConstants>$(DefineConstants);FX_SIMPLE_SECURITY_PERMISSIONS</DefineConstants> |
| 151 | + <DefineConstants>$(DefineConstants);FX_NO_TRUNCATE</DefineConstants> |
| 152 | + <DefineConstants>$(DefineConstants);FX_NO_CULTURE_INFO_ARGS</DefineConstants> |
| 153 | + <DefineConstants>$(DefineConstants);FX_NO_REFLECTION_MODULES</DefineConstants> |
| 154 | + <DefineConstants>$(DefineConstants);FX_NO_REFLECTION_METADATA_TOKENS</DefineConstants> |
| 155 | + <DefineConstants>$(DefineConstants);FX_NO_TO_LOWER_INVARIANT</DefineConstants> |
| 156 | + <DefineConstants>$(DefineConstants);FX_NO_EXIT_CONTEXT_FLAGS</DefineConstants> |
| 157 | + <DefineConstants>$(DefineConstants);FX_NO_BASED_ARRAYS</DefineConstants> |
| 158 | + <DefineConstants>$(DefineConstants);FX_NO_DOUBLE_BIT_CONVERTER</DefineConstants> |
| 159 | + <DefineConstants>$(DefineConstants);FX_NO_BINARY_SERIALIZATION</DefineConstants> |
| 160 | + <DefineConstants>$(DefineConstants);FX_NO_ASCII_ENCODING</DefineConstants> |
| 161 | + <DefineConstants>$(DefineConstants);FX_NO_DEFAULT_ENCODING</DefineConstants> |
| 162 | + <DefineConstants>$(DefineConstants);FX_NO_FILE_OPTIONS</DefineConstants> |
| 163 | + <DefineConstants>$(DefineConstants);FX_NO_NONBLOCK_IO</DefineConstants> |
| 164 | + <DefineConstants>$(DefineConstants);FX_NO_COMMAND_LINE_ARGS</DefineConstants> |
| 165 | + <DefineConstants>$(DefineConstants);FX_NO_ENVIRONMENT</DefineConstants> |
| 166 | + <DefineConstants>$(DefineConstants);FX_NO_PROCESS_START</DefineConstants> |
| 167 | + <DefineConstants>$(DefineConstants);FX_NO_APP_DOMAINS</DefineConstants> |
| 168 | + <DefineConstants>$(DefineConstants);FX_NO_PROCESS_DIAGNOSTICS</DefineConstants> |
| 169 | + <DefineConstants>$(DefineConstants);FX_NO_IOBSERVABLE</DefineConstants> |
| 170 | + <DefineConstants>$(DefineConstants);FX_NO_WEB_CLIENT</DefineConstants> |
| 171 | + <DefineConstants>$(DefineConstants);FX_NO_CONVERTER</DefineConstants> |
| 172 | + <DefineConstants>$(DefineConstants);FX_NO_GET_HASH_CODE_HELPER</DefineConstants> |
| 173 | + <DefineConstants>$(DefineConstants);FX_NO_COMVISIBLE</DefineConstants> |
| 174 | + <DefineConstants>$(DefineConstants);FX_NO_ICLONEABLE</DefineConstants> |
| 175 | + <DefineConstants>$(DefineConstants);FX_NO_SECURITY_PERMISSIONS</DefineConstants> |
| 176 | + <DefineConstants>$(DefineConstants);FX_NO_SYSTEM_CONSOLE</DefineConstants> |
| 177 | + <DefineConstants>$(DefineConstants);FX_NO_ARRAY_KEY_SORT</DefineConstants> |
| 178 | + <DefineConstants>$(DefineConstants);FX_NO_REFLECTION_EMIT</DefineConstants> |
| 179 | + <DefineConstants>$(DefineConstants);FX_NO_PARAMETERIZED_THREAD_START</DefineConstants> |
| 180 | + <DefineConstants>$(DefineConstants);FX_EVENTWAITHANDLE_NO_IDISPOSABLE</DefineConstants> |
| 181 | + <DefineConstants>$(DefineConstants);FX_NO_REGISTERED_WAIT_HANDLES</DefineConstants> |
| 182 | + <DefineConstants>$(DefineConstants);FX_ATLEAST_LINQ</DefineConstants> |
| 183 | + <DefineConstants>$(DefineConstants);FX_NO_THREAD</DefineConstants> |
| 184 | + <DefineConstants>$(DefineConstants);FX_NO_THREADPOOL</DefineConstants> |
| 185 | + <DefineConstants>$(DefineConstants);FX_NO_WAITONE_MILLISECONDS</DefineConstants> |
| 186 | + <DefineConstants>$(DefineConstants);FX_NO_TPL_PARALLEL</DefineConstants> |
| 187 | + <DefineConstants>$(DefineConstants);PUT_TYPE_PROVIDERS_IN_FSCORE</DefineConstants> |
| 188 | + <DefineConstants>$(DefineConstants);FX_NO_CUSTOMATTRIBUTEDATA</DefineConstants> |
| 189 | + <DefineConstants>$(DefineConstants);FX_NO_BIGINT</DefineConstants> |
| 190 | + <DefineConstants>$(DefineConstants);DONT_INCLUDE_DEPRECATED</DefineConstants> |
| 191 | + <DefineConstants>$(DefineConstants);PUT_TYPE_PROVIDERS_IN_FSCORE</DefineConstants> |
| 192 | + |
| 193 | + <AssemblySearchPaths>$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\$(TargetFrameworkProfile)</AssemblySearchPaths> |
| 194 | + <OtherFlags>$(OtherFlags) --simpleresolution -r:"$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\$(TargetFrameworkProfile)\mscorlib.dll" -r:"$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\$(TargetFrameworkProfile)\System.dll" -r:"$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\$(TargetFrameworkProfile)\System.Core.dll"</OtherFlags> |
| 195 | + |
| 196 | + </PropertyGroup> |
134 | 197 |
|
135 | 198 | <!-- Target Portable--> |
136 | 199 | <PropertyGroupCondition="'$(TargetFramework)'=='portable-net4+sl4+wp71+win8'"> |
137 | 200 |
|
138 | | - <TargetFrameworkProfile>Profile47</TargetFrameworkProfile> |
| 201 | + <TargetFrameworkProfile>Profile88</TargetFrameworkProfile> |
139 | 202 | <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
140 | 203 | <TargetFrameworkOutputDirectory>$(TargetFramework)</TargetFrameworkOutputDirectory> |
141 | 204 |
|
@@ -190,6 +253,17 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do |
190 | 253 | <DefineConstants>$(DefineConstants);DONT_INCLUDE_DEPRECATED</DefineConstants> |
191 | 254 | <DefineConstants>$(DefineConstants);PUT_TYPE_PROVIDERS_IN_FSCORE</DefineConstants> |
192 | 255 |
|
| 256 | + <DefineConstants>$(DefineConstants);FX_NO_STRUCTURAL_EQUALITY</DefineConstants> |
| 257 | + <DefineConstants>$(DefineConstants);FX_NO_CANCELLATIONTOKEN_CLASSES</DefineConstants> |
| 258 | + <DefineConstants>$(DefineConstants);FX_NO_LAZY</DefineConstants> |
| 259 | + <DefineConstants>$(DefineConstants);FX_NO_TUPLE</DefineConstants> |
| 260 | + <DefineConstants>$(DefineConstants);FX_NO_TASK</DefineConstants> |
| 261 | + <DefineConstants>$(DefineConstants);FX_NO_OPERATION_CANCELLED</DefineConstants> |
| 262 | + <DefineConstants>$(DefineConstants);FX_NO_THREAD_STATIC</DefineConstants> |
| 263 | + |
| 264 | + <AssemblySearchPaths>$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\$(TargetFrameworkProfile)</AssemblySearchPaths> |
| 265 | + <OtherFlags>$(OtherFlags) --simpleresolution -r:"$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\$(TargetFrameworkProfile)\mscorlib.dll" -r:"$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\$(TargetFrameworkProfile)\System.dll" -r:"$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\.NETPortable\v4.0\Profile\$(TargetFrameworkProfile)\System.Core.dll"</OtherFlags> |
| 266 | + |
193 | 267 | </PropertyGroup> |
194 | 268 |
|
195 | 269 | <!-- Target Silverlight 3.0--> |
@@ -365,12 +439,20 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do |
365 | 439 | <DefineConstants>$(DefineConstants);FX_NO_CONCURRENT_DICTIONARY</DefineConstants> |
366 | 440 | <DefineConstants>$(DefineConstants);PUT_TYPE_PROVIDERS_IN_FSCORE;</DefineConstants> |
367 | 441 | <DefineConstants>$(DefineConstants);FX_ATLEAST_LINQ</DefineConstants> |
| 442 | + |
| 443 | + <DefineConstants>$(DefineConstants);FX_NO_TPL_PARALLEL</DefineConstants> |
| 444 | + <DefineConstants>$(DefineConstants);FX_NO_CUSTOMATTRIBUTEDATA</DefineConstants> |
| 445 | + <DefineConstants>$(DefineConstants);FX_NO_BIGINT</DefineConstants> |
| 446 | + <DefineConstants>$(DefineConstants);FX_NO_MONITOR_REPORTS_LOCKTAKEN</DefineConstants> |
| 447 | + <DefineConstants>$(DefineConstants);FX_NO_QUOTATIONS_COMPILE</DefineConstants> |
| 448 | + |
368 | 449 | <Tailcalls>false</Tailcalls> |
369 | 450 | <SilverlightVersion>$(TargetFrameworkVersion)</SilverlightVersion> |
370 | 451 | <TargetFrameworkOutputDirectory>$(TargetFramework)</TargetFrameworkOutputDirectory> |
371 | 452 | <!-- It would be better to use MSBuild resolution here, but the TargetFrameworkIdentifier etc. aren't set up quite correctly as yet--> |
372 | | - <OtherFlags>$(OtherFlags) --simpleresolution -r:"C:\Program Files\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone\mscorlib.dll" </OtherFlags> |
373 | | - </PropertyGroup> |
| 453 | + <AssemblySearchPaths>$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone</AssemblySearchPaths> |
| 454 | + <OtherFlags>$(OtherFlags) --simpleresolution -r:"$(MSBuildExtensionsPath32)\..\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0\Profile\WindowsPhone\mscorlib.dll" </OtherFlags> |
| 455 | +</PropertyGroup> |
374 | 456 |
|
375 | 457 | <!-- Target CompactFramework 2.0--> |
376 | 458 | <PropertyGroupCondition="'$(TargetFramework)'=='net20-cf'"> |
@@ -581,6 +663,8 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do |
581 | 663 | <!-- Include the portable targets file when building the portable FSharp.Core--> |
582 | 664 | <ImportProject="$(MSBuildExtensionsPath32)\Microsoft\Portable\v4.0\Microsoft.Portable.Common.targets" |
583 | 665 | Condition="'$(TargetFramework)'=='portable-net4+sl4+wp71+win8'"/> |
| 666 | + <ImportProject="$(MSBuildExtensionsPath32)\Microsoft\Portable\v4.0\Microsoft.Portable.Common.targets" |
| 667 | +Condition="'$(TargetFramework)'=='portable-net45+sl5+win8'"/> |
584 | 668 |
|
585 | 669 | <!-- Include the bootstrap targets file when building the proto compiler using the bootstrap--> |
586 | 670 | <!-- Also include it if Proto targets file doesn't exist, e.g. when cleaning the build with /t:Clean--> |
@@ -612,14 +696,15 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do |
612 | 696 | Text="Configuration '$(Configuration)' is not one of the supported configurations: Debug, Release, Proto" |
613 | 697 | Condition="'$(Configuration)'!='Release' and '$(Configuration)'!='Debug' and '$(Configuration)'!='Proto'"/> |
614 | 698 | <Error |
615 | | -Text="TargetFramework '$(TargetFramework)' is not one of the supported configurations: 'empty', net20, net40, mono21, wp7, sl5, sl5-compiler, portable-net4+sl4+wp71+win8" |
| 699 | +Text="TargetFramework '$(TargetFramework)' is not one of the supported configurations: 'empty', net20, net40, mono21, wp7, sl5, sl5-compiler, portable-net4+sl4+wp71+win8, portable-net45+sl5+win8" |
616 | 700 | Condition="! ('$(TargetFramework)' == 'net40' or |
617 | 701 | '$(TargetFramework)' == 'net20' or |
618 | 702 | '$(TargetFramework)' == 'mono21' or |
619 | 703 | '$(TargetFramework)' == 'sl5' or |
620 | 704 | '$(TargetFramework)' == 'sl5-compiler' or |
621 | 705 | '$(TargetFramework)' == 'wp7' or |
622 | 706 | '$(TargetFramework)' == 'portable-net4+sl4+wp71+win8' or |
| 707 | + '$(TargetFramework)' == 'portable-net45+sl5+win8' or |
623 | 708 | '$(TargetFramework)' == 'net40-xna40-xbox360')"/> |
624 | 709 | </Target> |
625 | 710 |
|
|