Skip to content

Commit fd75edd

Browse files
Reverting
1 parent 536edc8 commit fd75edd

File tree

5 files changed

+72
-523
lines changed

5 files changed

+72
-523
lines changed

Ix.NET/Source/Common.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,4 @@
204204
</PropertyGroup>
205205
</Target>
206206

207-
</Project>
207+
</Project>

Ix.NET/Source/Import.targets

Lines changed: 14 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -2,65 +2,31 @@
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33

44
<!-- Non-Portable Library build -->
5-
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v11.0\Microsoft.Windows.UI.Xaml.CSharp.targets" Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' " />
6-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And ('$(BuildPlatform)' == 'DESKTOPCLR' Or '$(BuildPlatform)' == 'XNA') " />
7-
5+
<Import
6+
Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets"
7+
Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildPlatform)' == 'DESKTOPCLR' " />
8+
89
<!-- Silverlight ONLY (i.e., not phone) -->
910
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Silverlight\$(SilverlightVersion)\Microsoft.Silverlight.CSharp.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildPlatform)' == 'SILVERLIGHT' AND !('$(BuildFlavor)' == 'SILVERLIGHTM7') " />
1011

1112
<!-- Windows Phone 7.1 (Silverlight for Phone) -->
1213
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.$(TargetFrameworkProfile).Overrides.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildFlavor)' == 'SILVERLIGHTM7' " />
1314
<Import Project="$(MSBuildExtensionsPath)\Microsoft\Silverlight for Phone\$(TargetFrameworkVersion)\Microsoft.Silverlight.CSharp.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildFlavor)' == 'SILVERLIGHTM7' " />
1415

15-
<!-- Windows Phone 8 -->
16-
<Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).$(TargetFrameworkVersion).Overrides.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildFlavor)' == 'WINDOWS_PHONE8' "/>
17-
<Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).CSharp.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildFlavor)' == 'WINDOWS_PHONE8' "/>
18-
16+
17+
<!-- <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" Condition=" '$(TargetFrameworkIdentifier)' != '.NETPortable' And '$(BuildPlatform)' == 'XNA' "/>
18+
-->
19+
1920
<!-- Portable Library Build -->
2021
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" Condition=" '$(TargetFrameworkIdentifier)' == '.NETPortable' " />
21-
22-
23-
<!-- If "Sign" is set and assembly should be signed, generate a .sign file-->
24-
<Target Name="AfterBuild">
25-
26-
<WriteLinesToFile Condition=" '$(ProductSignAssembly)' == 'true' AND '$(Sign)' == 'Sign' "
22+
23+
<!-- If "Sign" is set and assembly should be signed, generate a .sign file-->
24+
<Target Name="AfterBuild"
25+
Condition=" '$(ProductSignAssembly)' == 'true' AND '$(Sign)' == 'Sign' ">
26+
<WriteLinesToFile
2727
File="$(OutDir)\$(TargetFileName).sign"
2828
Overwrite="true"
29-
Lines="Auto-generated file, indicates the corresponding binary file needs to be signed.">
30-
</WriteLinesToFile>
31-
32-
<!-- 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 -->
33-
34-
<!-- 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' Or '$(TargetFrameworkIdentifier)' == '.NETPortable'">
36-
<Output TaskParameter="Include" ItemName="CanaryFiles" />
37-
</CreateItem>
38-
39-
<Message Text="-- Canary files: @(CanaryFiles)" Importance="high"/>
40-
<Move
41-
SourceFiles="@(CanaryFiles)"
42-
DestinationFolder="$(OutDir)\.."
43-
Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' Or '$(TargetFrameworkIdentifier)' == '.NETPortable' " />
44-
45-
<!-- 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' Or '$(TargetFrameworkIdentifier)' == '.NETPortable' ">
47-
<Output TaskParameter="Include" ItemName="BuiltFilesInOutDir" />
48-
</CreateItem>
49-
50-
<Message Text="-- Built files: @(BuiltFilesInOutDir)" Importance="high"/>
51-
<Copy
52-
SourceFiles="@(BuiltFilesInOutDir)"
53-
DestinationFolder="$(OutDir)\.."
54-
Condition=" '$(TargetFrameworkIdentifier)' == '.NETCore' Or '$(TargetFrameworkIdentifier)' == '.NETPortable' " />
29+
Lines="Auto-generated file, indicates the corresponding binary file needs to be signed." />
5530
</Target>
5631

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' " />
65-
6632
</Project>

0 commit comments

Comments
 (0)