|
24 | 24 | <OtherFlags>$(OtherFlags) --version:4.3.1.9055</OtherFlags> |
25 | 25 | <OtherFlagsCondition="'$(TargetFramework)' == 'net20'">$(OtherFlags) --version:2.3.1.9055</OtherFlags> |
26 | 26 | <OtherFlagsCondition="'$(TargetFramework)' == 'portable47'">$(OtherFlags) --version:2.3.5.9055</OtherFlags> |
| 27 | + <OtherFlagsCondition="'$(TargetFramework)' == 'portable7'">$(OtherFlags) --version:3.3.1.9055</OtherFlags> |
27 | 28 | </PropertyGroup> |
28 | 29 |
|
29 | 30 | <!-- We sign with the Microsoft key and use delay-signing--> |
30 | | - <PropertyGroupCondition="'$(AssemblyName)' == 'FSharp.Core' AND ('$(Configuration)'=='Debug' OR '$(Configuration)'=='Release') AND ('$(TargetFramework)' == 'net20' OR '$(TargetFramework)' == 'net40' OR '$(TargetFramework)' == 'portable47')"> |
| 31 | + <PropertyGroupCondition="'$(AssemblyName)' == 'FSharp.Core' AND ('$(Configuration)'=='Debug' OR '$(Configuration)'=='Release') AND ('$(TargetFramework)' == 'net20' OR '$(TargetFramework)' == 'net40' OR '$(TargetFramework)' == 'portable47' OR '$(TargetFramework)' == 'portable7')"> |
31 | 32 | <DefineConstants>STRONG_NAME_AND_DELAY_SIGN_FSHARP_COMPILER_WITH_MSFT_KEY;$(DefineConstants)</DefineConstants> |
32 | 33 | <OtherFlags>$(OtherFlags) --delaysign+ --keyfile:"$(FSharpSourcesRoot)\fsharp\msft.pubkey"</OtherFlags> |
33 | 34 | <StrongNames>true</StrongNames> |
|
103 | 104 | <!-- MSbuild works out the assembly references--> |
104 | 105 | </PropertyGroup> |
105 | 106 |
|
106 | | -<!-- Target Portable--> |
| 107 | +<!-- Target PortableProfile 47--> |
107 | 108 | <PropertyGroupCondition="'$(TargetFramework)'=='portable47'"> |
108 | 109 |
|
109 | 110 | <DefineConstants>$(DefineConstants);FSHARP_CORE_PORTABLE</DefineConstants> |
|
158 | 159 | <TargetFrameworkProfile>Profile47</TargetFrameworkProfile> |
159 | 160 | <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> |
160 | 161 | </PropertyGroup> |
| 162 | + |
| 163 | +<!-- Target Portable Profile 7--> |
| 164 | + <PropertyGroupCondition="'$(TargetFramework)'=='portable7'"> |
| 165 | + <DefineConstants>$(DefineConstants);QUERIES_IN_FSLIB</DefineConstants> |
| 166 | + <DefineConstants>$(DefineConstants);FSHARP_CORE_NETCORE_PORTABLE</DefineConstants> |
| 167 | + <DefineConstants>$(DefineConstants);FX_ATLEAST_35</DefineConstants> |
| 168 | + <DefineConstants>$(DefineConstants);FX_ATLEAST_PORTABLE</DefineConstants> |
| 169 | + <DefineConstants>$(DefineConstants);FX_NO_ARRAY_LONG_LENGTH</DefineConstants> |
| 170 | + <DefineConstants>$(DefineConstants);FX_NO_EXIT</DefineConstants> |
| 171 | + <DefineConstants>$(DefineConstants);FX_NO_CHAR_PARSE</DefineConstants> |
| 172 | + <DefineConstants>$(DefineConstants);FX_NO_DEFAULT_DEPENDENCY_TYPE</DefineConstants> |
| 173 | + <DefineConstants>$(DefineConstants);FX_SIMPLE_SECURITY_PERMISSIONS</DefineConstants> |
| 174 | + <DefineConstants>$(DefineConstants);FX_NO_REFLECTION_MODULES</DefineConstants> |
| 175 | + <DefineConstants>$(DefineConstants);FX_NO_REFLECTION_METADATA_TOKENS</DefineConstants> |
| 176 | + <DefineConstants>$(DefineConstants);FX_NO_EXIT_CONTEXT_FLAGS</DefineConstants> |
| 177 | + <DefineConstants>$(DefineConstants);FX_NO_BASED_ARRAYS</DefineConstants> |
| 178 | + <DefineConstants>$(DefineConstants);FX_NO_BINARY_SERIALIZATION</DefineConstants> |
| 179 | + <DefineConstants>$(DefineConstants);FX_NO_WEB_CLIENT</DefineConstants> |
| 180 | + <DefineConstants>$(DefineConstants);FX_NO_CONVERTER</DefineConstants> |
| 181 | + <DefineConstants>$(DefineConstants);FX_NO_ICLONEABLE</DefineConstants> |
| 182 | + <DefineConstants>$(DefineConstants);FX_NO_SECURITY_PERMISSIONS</DefineConstants> |
| 183 | + <DefineConstants>$(DefineConstants);FX_NO_SYSTEM_CONSOLE</DefineConstants> |
| 184 | + <DefineConstants>$(DefineConstants);FX_NO_ARRAY_KEY_SORT</DefineConstants> |
| 185 | + <DefineConstants>$(DefineConstants);FX_NO_REFLECTION_EMIT</DefineConstants> |
| 186 | + <DefineConstants>$(DefineConstants);FX_NO_PARAMETERIZED_THREAD_START</DefineConstants> |
| 187 | + <DefineConstants>$(DefineConstants);FX_NO_REGISTERED_WAIT_HANDLES</DefineConstants> |
| 188 | + <DefineConstants>$(DefineConstants);FX_ATLEAST_LINQ</DefineConstants> |
| 189 | + <DefineConstants>$(DefineConstants);FX_NO_THREAD</DefineConstants> |
| 190 | + <DefineConstants>$(DefineConstants);FX_NO_THREADPOOL</DefineConstants> |
| 191 | + <DefineConstants>$(DefineConstants);PUT_TYPE_PROVIDERS_IN_FSCORE</DefineConstants> |
| 192 | + <DefineConstants>$(DefineConstants);FX_NO_CUSTOMATTRIBUTEDATA</DefineConstants> |
| 193 | + <DefineConstants>$(DefineConstants);FX_RESHAPED_REFLECTION</DefineConstants> |
| 194 | + <DefineConstants>$(DefineConstants);FX_NO_EXIT_CONTEXT_FLAGS</DefineConstants> |
| 195 | + <DefineConstants>$(DefineConstants);FX_EVENTWAITHANDLE_NO_IDISPOSABLE</DefineConstants> |
| 196 | + <TargetingNetCorePortable>true</TargetingNetCorePortable> |
| 197 | + <TargetFrameworkProfile>Profile7</TargetFrameworkProfile> |
| 198 | + <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
| 199 | + </PropertyGroup> |
161 | 200 |
|
162 | 201 | <!-- Target Portable--> |
163 | 202 | <PropertyGroupCondition="'$(TargetFramework)'=='netcore78'"> |
|
552 | 591 | </PropertyGroup> |
553 | 592 |
|
554 | 593 | <Choose> |
555 | | - <WhenCondition="'$(TargetFramework)'=='portable47'"> |
| 594 | + <WhenCondition="'$(TargetFramework)'=='portable47' OR '$(TargetFramework)'=='portable7'"> |
556 | 595 | <PropertyGroup> |
557 | 596 | <FSharpTargetsPath>..\Proto\$(protoCLIDir)\bin\Microsoft.Portable.FSharp-proto.Targets</FSharpTargetsPath> |
558 | 597 | </PropertyGroup> |
|
623 | 662 | Text="Configuration '$(Configuration)' is not one of the supported configurations: Debug, Release, Proto" |
624 | 663 | Condition="'$(Configuration)'!='Release' and '$(Configuration)'!='Debug' and '$(Configuration)'!='Proto'"/> |
625 | 664 | <Error |
626 | | -Text="TargetFramework '$(TargetFramework)' is not one of the supported configurations: 'empty', net20, net40, sl3-wp, sl5, sl5-compiler, portable47, netcore78, netcore259" |
| 665 | +Text="TargetFramework '$(TargetFramework)' is not one of the supported configurations: 'empty', net20, net40, sl3-wp, sl5, sl5-compiler, portable47,portable7,netcore78, netcore259" |
627 | 666 | Condition="! ('$(TargetFramework)' == 'net40' or |
628 | 667 | '$(TargetFramework)' == 'net20' or |
629 | 668 | '$(TargetFramework)' == 'sl5' or |
630 | 669 | '$(TargetFramework)' == 'sl3-wp' or |
631 | 670 | '$(TargetFramework)' == 'portable47' or |
| 671 | + '$(TargetFramework)' == 'portable7' or |
632 | 672 | '$(TargetFramework)' == 'netcore78' or |
633 | 673 | '$(TargetFramework)' == 'netcore259')"/> |
634 | 674 | <Error |
|