Skip to content

Commit aa6c47f

Browse files
committed
Remove xbuild workarounds
They do not work Mono 4.6+ where the underlying bug is fixed
1 parent 4c0006c commit aa6c47f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/FSharpSource.targets

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,6 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do
367367
<DefineConstants>$(DefineConstants);PUT_TYPE_PROVIDERS_IN_FSCORE</DefineConstants>
368368
<DefineConstants>$(DefineConstants);QUERIES_IN_FSLIB</DefineConstants>
369369

370-
<!-- An explicit search path seems to be needed on Mono 3.4.0 otherwise the reference assemblies for the profile aren't found -->
371-
<AssemblySearchPaths Condition="Exists('$(MSBuildExtensionsPath32)\..\xbuild-frameworks\.NETPortable\v4.0\mscorlib.dll')">$(MSBuildExtensionsPath32)\..\xbuild-frameworks\.NETPortable\v4.0</AssemblySearchPaths>
372370
<TargetFrameworkProfile>Profile47</TargetFrameworkProfile>
373371
<TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == ''">v4.0</TargetFrameworkVersion>
374372
</PropertyGroup>
@@ -410,8 +408,6 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do
410408
<DefineConstants>$(DefineConstants);QUERIES_IN_FSLIB</DefineConstants>
411409
<TargetProfile>netcore</TargetProfile>
412410
<TargetFrameworkProfile>Profile7</TargetFrameworkProfile>
413-
<!-- An explicit search path seems to be needed on Mono 3.4.0 otherwise the reference assemblies for the profile aren't found -->
414-
<AssemblySearchPaths Condition="Exists('$(MSBuildExtensionsPath32)\..\xbuild-frameworks\.NETPortable\v4.5\System.Runtime.dll')">$(MSBuildExtensionsPath32)\..\xbuild-frameworks\.NETPortable\v4.5</AssemblySearchPaths>
415411
<OtherFlags>$(OtherFlags) --targetprofile:netcore</OtherFlags>
416412
<TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == ''">v4.5</TargetFrameworkVersion>
417413
</PropertyGroup>
@@ -453,8 +449,6 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do
453449
<TargetProfile>netcore</TargetProfile>
454450
<TargetFrameworkProfile>Profile78</TargetFrameworkProfile>
455451
<TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == ''">v4.5</TargetFrameworkVersion>
456-
<!-- An explicit search path seems to be needed on Mono 3.4.0 otherwise the reference assemblies for the profile aren't found -->
457-
<AssemblySearchPaths Condition="Exists('$(MSBuildExtensionsPath32)\..\xbuild-frameworks\.NETPortable\v4.5\System.Runtime.dll')">$(MSBuildExtensionsPath32)\..\xbuild-frameworks\.NETPortable\v4.5</AssemblySearchPaths>
458452
<OtherFlags>$(OtherFlags) --targetprofile:netcore</OtherFlags>
459453
</PropertyGroup>
460454

@@ -495,8 +489,6 @@ Some other NuGET monikers to support in the future, see http://docs.nuget.org/do
495489
<TargetProfile>netcore</TargetProfile>
496490
<TargetFrameworkProfile>Profile259</TargetFrameworkProfile>
497491
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
498-
<!-- An explicit search path seems to be needed on Mono 3.4.0 otherwise the reference assemblies for the profile aren't found -->
499-
<AssemblySearchPaths Condition="Exists('$(MSBuildExtensionsPath32)\..\xbuild-frameworks\.NETPortable\v4.5\System.Runtime.dll')">$(MSBuildExtensionsPath32)\..\xbuild-frameworks\.NETPortable\v4.5</AssemblySearchPaths>
500492
<OtherFlags>$(OtherFlags) --targetprofile:netcore</OtherFlags>
501493
</PropertyGroup>
502494

0 commit comments

Comments
 (0)