Skip to content

Commit 601ccad

Browse files
committed
Remove dead code
Remove Mono workarounds for missing files. Mono has been shipping the files for some time now.
1 parent aa6c47f commit 601ccad

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

src/fsharp/FSharp.Build/Microsoft.Portable.FSharp.targets

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -24,60 +24,8 @@ Copyright (C) Microsoft Corporation. All rights reserved.
2424
Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\Portable\v4.0\Microsoft.Portable.Common.targets') AND
2525
!Exists('$(MSBuildExtensionsPath32)\Microsoft\Portable\Microsoft.Portable.Core.props')"/>
2626

27-
28-
<!-- Try to do it ourselves - Explicitly include contents of Microsoft.Portable.Core.props + Microsoft.FSharp.Targets + Microsoft.Portable.Core.targets -->
29-
<!-- START MONO 3.2.7 WORKAROUND PART 1 -->
30-
<PropertyGroup
31-
Condition="(!Exists('$(MSBuildExtensionsPath32)\Microsoft\Portable\v4.0\Microsoft.Portable.Common.targets')) AND
32-
(!Exists('$(MSBuildExtensionsPath32)\Microsoft\Portable\Microsoft.Portable.Core.props'))">
33-
<AvailablePlatforms>Any CPU</AvailablePlatforms>
34-
35-
<TargetPlatformIdentifier>Portable</TargetPlatformIdentifier>
36-
<TargetFrameworkIdentifier>.NETPortable</TargetFrameworkIdentifier>
37-
<TargetFrameworkMonikerDisplayName>.NET Portable Subset</TargetFrameworkMonikerDisplayName>
38-
39-
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
40-
<NoStdLib>true</NoStdLib>
41-
42-
<ImplicitlyExpandTargetFramework Condition="'$(ImplicitlyExpandTargetFramework)' == '' ">true</ImplicitlyExpandTargetFramework>
43-
</PropertyGroup>
44-
<!-- END MONO 3.2.7 WORKAROUND PART 1 -->
45-
46-
4727
<Import Project="$(MSBuildExtensionsPath32)\..\Microsoft SDKs\F#\3.1\Framework\v4.0\Microsoft.FSharp.Targets" />
4828

49-
50-
<!-- START MONO 3.2.7 WORKAROUND PART 2 -->
51-
<PropertyGroup
52-
Condition="(!Exists('$(MSBuildExtensionsPath32)\Microsoft\Portable\v4.0\Microsoft.Portable.Common.targets')) AND
53-
(!Exists('$(MSBuildExtensionsPath32)\Microsoft\Portable\Microsoft.Portable.Core.props'))" >
54-
<ResolveReferencesDependsOn>
55-
$(ResolveReferencesDependsOn);
56-
ImplicitlyExpandTargetFramework;
57-
</ResolveReferencesDependsOn>
58-
59-
<ImplicitlyExpandTargetFrameworkDependsOn>
60-
$(ImplicitlyExpandTargetFrameworkDependsOn);
61-
GetReferenceAssemblyPaths
62-
</ImplicitlyExpandTargetFrameworkDependsOn>
63-
</PropertyGroup>
64-
65-
<Target Name="ImplicitlyExpandTargetFramework"
66-
DependsOnTargets="$(ImplicitlyExpandTargetFrameworkDependsOn)"
67-
Condition="(!Exists('$(MSBuildExtensionsPath32)\Microsoft\Portable\v4.0\Microsoft.Portable.Common.targets')) AND
68-
(!Exists('$(MSBuildExtensionsPath32)\Microsoft\Portable\Microsoft.Portable.Core.props'))" >
69-
70-
<ItemGroup>
71-
<ReferenceAssemblyPaths Include="$(_TargetFrameworkDirectories)"/>
72-
<ReferencePath Include="%(ReferenceAssemblyPaths.Identity)\*.dll">
73-
<CopyLocal>false</CopyLocal>
74-
<ResolvedFrom>ImplicitlyExpandTargetFramework</ResolvedFrom>
75-
<IsSystemReference>True</IsSystemReference>
76-
</ReferencePath>
77-
</ItemGroup>
78-
</Target>
79-
<!-- END MONO 3.2.7 WORKAROUND PART 2 -->
80-
8129
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\Microsoft.Portable.Core.targets"
8230
Condition="Exists('$(MSBuildExtensionsPath32)\Microsoft\Portable\Microsoft.Portable.Core.props')"/>
8331

0 commit comments

Comments
 (0)