|
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,6 +132,68 @@ 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'"> |
@@ -600,6 +663,8 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do |
600 | 663 | <!-- Include the portable targets file when building the portable FSharp.Core--> |
601 | 664 | <ImportProject="$(MSBuildExtensionsPath32)\Microsoft\Portable\v4.0\Microsoft.Portable.Common.targets" |
602 | 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'"/> |
603 | 668 |
|
604 | 669 | <!-- Include the bootstrap targets file when building the proto compiler using the bootstrap--> |
605 | 670 | <!-- Also include it if Proto targets file doesn't exist, e.g. when cleaning the build with /t:Clean--> |
@@ -631,14 +696,15 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do |
631 | 696 | Text="Configuration '$(Configuration)' is not one of the supported configurations: Debug, Release, Proto" |
632 | 697 | Condition="'$(Configuration)'!='Release' and '$(Configuration)'!='Debug' and '$(Configuration)'!='Proto'"/> |
633 | 698 | <Error |
634 | | -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" |
635 | 700 | Condition="! ('$(TargetFramework)' == 'net40' or |
636 | 701 | '$(TargetFramework)' == 'net20' or |
637 | 702 | '$(TargetFramework)' == 'mono21' or |
638 | 703 | '$(TargetFramework)' == 'sl5' or |
639 | 704 | '$(TargetFramework)' == 'sl5-compiler' or |
640 | 705 | '$(TargetFramework)' == 'wp7' or |
641 | 706 | '$(TargetFramework)' == 'portable-net4+sl4+wp71+win8' or |
| 707 | + '$(TargetFramework)' == 'portable-net45+sl5+win8' or |
642 | 708 | '$(TargetFramework)' == 'net40-xna40-xbox360')"/> |
643 | 709 | </Target> |
644 | 710 |
|
|