Skip to content

Commit 4be7549

Browse files
Updating import.targets for flattening
1 parent d56e5d1 commit 4be7549

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Rx.NET/Source/Import.targets

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,35 +32,35 @@
3232
<!-- 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 -->
3333

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

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

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

5050
<Message Text="-- Built files: @(BuiltFilesInOutDir)" Importance="high"/>
5151
<Copy
5252
SourceFiles="@(BuiltFilesInOutDir)"
5353
DestinationFolder="$(OutDir)\.."
54-
Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' " />
54+
Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' Or '$(TargetFrameworkIdentifier)' == '.NETPortable' " />
5555
</Target>
5656

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

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

0 commit comments

Comments
 (0)