Skip to content

Commit

Permalink
Updating import.targets for flattening
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpodwysocki committed Apr 29, 2014
1 parent d56e5d1 commit 4be7549
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions Rx.NET/Source/Import.targets
Original file line number Diff line number Diff line change
Expand Up @@ -32,35 +32,35 @@
<!-- Hack for Metro; for some reason the XAML build creates intermediary folders, so we flatten the hierarchy for consumption by the setup build at a later stage -->

<!-- For some reason, using a plain <ItemGroup> does not fill in the list correctly, so we must use <CreateItem> -->
<CreateItem Include="$(OutDir)\*.sign;$(OutDir)\*.xml" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' ">
<CreateItem Include="$(OutDir)\*.sign;$(OutDir)\*.xml" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' Or '$(TargetFrameworkIdentifier)' == '.NETPortable'">
<Output TaskParameter="Include" ItemName="CanaryFiles" />
</CreateItem>

<Message Text="-- Canary files: @(CanaryFiles)" Importance="high"/>
<Move
SourceFiles="@(CanaryFiles)"
DestinationFolder="$(OutDir)\.."
Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' " />
Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' Or '$(TargetFrameworkIdentifier)' == '.NETPortable' " />

<!-- For some reason, using a plain <ItemGroup> does not fill in the list correctly, so we must use <CreateItem> -->
<CreateItem Include="$(OutDir)\*.*" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' ">
<CreateItem Include="$(OutDir)\*.*" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' Or '$(TargetFrameworkIdentifier)' == '.NETPortable' ">
<Output TaskParameter="Include" ItemName="BuiltFilesInOutDir" />
</CreateItem>

<Message Text="-- Built files: @(BuiltFilesInOutDir)" Importance="high"/>
<Copy
SourceFiles="@(BuiltFilesInOutDir)"
DestinationFolder="$(OutDir)\.."
Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' " />
Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' Or '$(TargetFrameworkIdentifier)' == '.NETPortable' " />
</Target>

<!-- MICROSOFT BCL ASYNC CONFIGURATION -->
<!-- TODO: Add acondition to only load it when required? -->

<!-- Skip validation of packages.config since we are manageing the packages manuallt -->
<PropertyGroup>
<SkipValidatePackageReferences>true</SkipValidatePackageReferences>
</PropertyGroup>
<Import Project="packages\Microsoft.Bcl.Build.1.0.4\tools\Microsoft.Bcl.Build.targets" Condition=" '$(BuildTarget)' == 'PLLITE' Or '$(BuildTarget)' == '40' " />
<!-- MICROSOFT BCL ASYNC CONFIGURATION -->
<!-- TODO: Add acondition to only load it when required? -->

</Project>
<!-- Skip validation of packages.config since we are manageing the packages manuallt -->
<PropertyGroup>
<SkipValidatePackageReferences>true</SkipValidatePackageReferences>
</PropertyGroup>
<Import Project="packages\Microsoft.Bcl.Build.1.0.4\tools\Microsoft.Bcl.Build.targets" Condition=" '$(BuildTarget)' == 'PLLITE' Or '$(BuildTarget)' == '40' " />

</Project>

0 comments on commit 4be7549

Please sign in to comment.