|
24 | 24 | <OtherFlagsCondition=" '$(TargetFramework)'=='portable259'">$(OtherFlags) --targetprofile:netcore</OtherFlags> |
25 | 25 | </PropertyGroup> |
26 | 26 |
|
27 | | - |
28 | 27 | <ItemGroup> |
29 | 28 | <CustomAdditionalCompileInputsInclude="$(FSharpSourcesRoot)\..\Proto\$(protoCLIDir)\bin\fsc-proto.exe"> |
30 | 29 | <Visible>false</Visible> |
|
206 | 205 | '$(TargetFramework)' == 'portable47' OR |
207 | 206 | '$(TargetFramework)' == 'XNA\5.0' OR |
208 | 207 | '$(TargetFramework)' == 'sl3-wp'"/> |
209 | | - <ReferenceInclude="System.Observable"Condition="'$(TargetFramework)' == 'sl3-wp'"/> |
| 208 | + <ReferenceInclude="System.Observable"Condition="'$(TargetFramework)' == 'sl3-wp'"/> |
210 | 209 | <ReferenceInclude="System.Core"Condition="'$(TargetFramework)' == 'sl5' OR |
211 | 210 | '$(TargetFramework)' == 'portable47' OR |
212 | 211 | '$(TargetFramework)' == 'XNA\5.0' OR |
213 | 212 | '$(TargetFramework)' == 'sl3-wp'"/> |
214 | 213 | </ItemGroup> |
| 214 | + |
215 | 215 | <!-- References--> |
216 | 216 | <ImportProject="$(FSharpSourcesRoot)\FSharpSource.targets" /> |
217 | 217 | <!-- Hook compilation phase to do custom work--> |
218 | | - <PropertyGroup> |
219 | | - <PrepareForRunDependsOn>$(PrepareForRunDependsOn);CopyToBuiltBin</PrepareForRunDependsOn> |
220 | | - </PropertyGroup> |
221 | | - <TargetName="CopyToBuiltBin"> |
222 | | - <CopySourceFiles="$(IntermediateOutputPath)\FSharp.Core.sigdata"DestinationFolder="$(OutputPath)"SkipUnchangedFiles="true"> |
223 | | - <OutputTaskParameter="DestinationFiles"ItemName="FileWrites" /> |
224 | | - </Copy> |
225 | | - <CopySourceFiles="$(IntermediateOutputPath)\FSharp.Core.optdata"DestinationFolder="$(OutputPath)"SkipUnchangedFiles="true"> |
226 | | - <OutputTaskParameter="DestinationFiles"ItemName="FileWrites" /> |
227 | | - </Copy> |
| 218 | + |
| 219 | + <TargetName="CopyToBuiltBin"BeforeTargets="BuiltProjectOutputGroup"AfterTargets="CoreCompile" > |
| 220 | + <ItemGroup> |
| 221 | + <BuiltProjectOutputGroupKeyOutputInclude="$(IntermediateOutputPath)\FSharp.Core.sigdata" /> |
| 222 | + <BuiltProjectOutputGroupKeyOutputInclude="$(IntermediateOutputPath)\FSharp.Core.optdata" /> |
| 223 | + </ItemGroup> |
| 224 | + <CopySourceFiles="$(IntermediateOutputPath)\FSharp.Core.sigdata"DestinationFolder="$(OutputPath)"SkipUnchangedFiles="true" /> |
| 225 | + <CopySourceFiles="$(IntermediateOutputPath)\FSharp.Core.optdata"DestinationFolder="$(OutputPath)"SkipUnchangedFiles="true" /> |
228 | 226 | </Target> |
229 | 227 | </Project> |