From d3ddd43845cdce5820915af8d5e6728afae1fddb Mon Sep 17 00:00:00 2001 From: Jimmy Byrd Date: Sat, 21 Dec 2019 08:00:39 -0500 Subject: [PATCH] use Microsoft.NETFramework.ReferenceAssemblies instead of netfx.props --- Content/Console/fsc.props | 21 --------------- Content/Console/netfx.props | 27 ------------------- Content/Console/src/MyLib.1/MyLib.1.fsproj | 2 -- .../tests/MyLib.1.Tests/MyLib.1.Tests.fsproj | 2 -- Content/Library/docsTool/docsTool.fsproj | 1 - Content/Library/fsc.props | 21 --------------- Content/Library/netfx.props | 27 ------------------- Content/Library/paket.dependencies | 1 + Content/Library/paket.lock | 25 +++++++++++++++++ Content/Library/src/MyLib.1/MyLib.1.fsproj | 2 -- Content/Library/src/MyLib.1/paket.references | 3 ++- .../tests/MyLib.1.Tests/MyLib.1.Tests.fsproj | 2 -- 12 files changed, 28 insertions(+), 106 deletions(-) delete mode 100644 Content/Console/fsc.props delete mode 100644 Content/Console/netfx.props delete mode 100644 Content/Library/fsc.props delete mode 100644 Content/Library/netfx.props diff --git a/Content/Console/fsc.props b/Content/Console/fsc.props deleted file mode 100644 index 3fb4e629..00000000 --- a/Content/Console/fsc.props +++ /dev/null @@ -1,21 +0,0 @@ - - - - - true - true - true - - - C:\Program Files (x86)\Microsoft SDKs\F#\4.1\Framework\v4.0 - fsc.exe - - - /Library/Frameworks/Mono.framework/Versions/Current/Commands - fsharpc - - - /usr/bin - fsharpc - - diff --git a/Content/Console/netfx.props b/Content/Console/netfx.props deleted file mode 100644 index c410c196..00000000 --- a/Content/Console/netfx.props +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - true - - - /Library/Frameworks/Mono.framework/Versions/Current/lib/mono - /usr/lib/mono - /usr/local/lib/mono - - - $(BaseFrameworkPathOverrideForMono)/4.5-api - $(BaseFrameworkPathOverrideForMono)/4.5.1-api - $(BaseFrameworkPathOverrideForMono)/4.5.2-api - $(BaseFrameworkPathOverrideForMono)/4.6-api - $(BaseFrameworkPathOverrideForMono)/4.6.1-api - $(BaseFrameworkPathOverrideForMono)/4.6.2-api - $(BaseFrameworkPathOverrideForMono)/4.7-api - $(BaseFrameworkPathOverrideForMono)/4.7.1-api - true - - - $(FrameworkPathOverride)/Facades;$(AssemblySearchPaths) - - diff --git a/Content/Console/src/MyLib.1/MyLib.1.fsproj b/Content/Console/src/MyLib.1/MyLib.1.fsproj index 45ff7d0e..037f538c 100755 --- a/Content/Console/src/MyLib.1/MyLib.1.fsproj +++ b/Content/Console/src/MyLib.1/MyLib.1.fsproj @@ -20,7 +20,5 @@ - - diff --git a/Content/Console/tests/MyLib.1.Tests/MyLib.1.Tests.fsproj b/Content/Console/tests/MyLib.1.Tests/MyLib.1.Tests.fsproj index 31fc63cb..8c21d309 100755 --- a/Content/Console/tests/MyLib.1.Tests/MyLib.1.Tests.fsproj +++ b/Content/Console/tests/MyLib.1.Tests/MyLib.1.Tests.fsproj @@ -12,7 +12,5 @@ - - diff --git a/Content/Library/docsTool/docsTool.fsproj b/Content/Library/docsTool/docsTool.fsproj index 2dbead4a..4c02724a 100644 --- a/Content/Library/docsTool/docsTool.fsproj +++ b/Content/Library/docsTool/docsTool.fsproj @@ -20,7 +20,6 @@ - diff --git a/Content/Library/fsc.props b/Content/Library/fsc.props deleted file mode 100644 index 3fb4e629..00000000 --- a/Content/Library/fsc.props +++ /dev/null @@ -1,21 +0,0 @@ - - - - - true - true - true - - - C:\Program Files (x86)\Microsoft SDKs\F#\4.1\Framework\v4.0 - fsc.exe - - - /Library/Frameworks/Mono.framework/Versions/Current/Commands - fsharpc - - - /usr/bin - fsharpc - - diff --git a/Content/Library/netfx.props b/Content/Library/netfx.props deleted file mode 100644 index c410c196..00000000 --- a/Content/Library/netfx.props +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - true - - - /Library/Frameworks/Mono.framework/Versions/Current/lib/mono - /usr/lib/mono - /usr/local/lib/mono - - - $(BaseFrameworkPathOverrideForMono)/4.5-api - $(BaseFrameworkPathOverrideForMono)/4.5.1-api - $(BaseFrameworkPathOverrideForMono)/4.5.2-api - $(BaseFrameworkPathOverrideForMono)/4.6-api - $(BaseFrameworkPathOverrideForMono)/4.6.1-api - $(BaseFrameworkPathOverrideForMono)/4.6.2-api - $(BaseFrameworkPathOverrideForMono)/4.7-api - $(BaseFrameworkPathOverrideForMono)/4.7.1-api - true - - - $(FrameworkPathOverride)/Facades;$(AssemblySearchPaths) - - diff --git a/Content/Library/paket.dependencies b/Content/Library/paket.dependencies index 0f14f945..cc2d5817 100644 --- a/Content/Library/paket.dependencies +++ b/Content/Library/paket.dependencies @@ -4,6 +4,7 @@ storage: none clitool dotnet-mono 0.5.2 nuget FSharp.Core 4.3.4 nuget Microsoft.SourceLink.GitHub prerelease copy_local: true +nuget Microsoft.NETFramework.ReferenceAssemblies copy_local: true nuget Expecto 8.13.1 nuget YoloDev.Expecto.TestSdk 0.8.0 nuget Microsoft.NET.Test.Sdk 15.7.2 diff --git a/Content/Library/paket.lock b/Content/Library/paket.lock index 68aaa386..d2cbaea2 100644 --- a/Content/Library/paket.lock +++ b/Content/Library/paket.lock @@ -87,6 +87,31 @@ NUGET Microsoft.NETCore.DotNetAppHost (>= 3.0.1) Microsoft.NETCore.Platforms (3.0) - restriction: || (&& (< monoandroid) (< monotouch) (< net45) (>= netstandard1.6) (< netstandard2.0) (< win8) (< wpa81) (< xamarintvos) (< xamarinwatchos)) (&& (< monoandroid) (< net45) (< netstandard1.2) (>= netstandard1.6) (< win8)) (&& (< monoandroid) (< net45) (< netstandard1.3) (>= netstandard1.6) (< win8) (< wpa81)) (&& (< monoandroid) (< net45) (< netstandard1.5) (>= netstandard1.6) (< win8) (< wpa81)) (>= netcoreapp2.1) Microsoft.NETCore.Targets (3.0) - restriction: || (&& (< monoandroid) (< monotouch) (< net45) (>= netstandard1.6) (< netstandard2.0) (< win8) (< wpa81) (< xamarintvos) (< xamarinwatchos)) (&& (< monoandroid) (< net45) (< netstandard1.2) (>= netstandard1.6) (< win8)) (&& (< monoandroid) (< net45) (< netstandard1.3) (>= netstandard1.6) (< win8) (< wpa81)) (&& (< monoandroid) (< net45) (< netstandard1.5) (>= netstandard1.6) (< win8) (< wpa81)) (>= netcoreapp2.1) + Microsoft.NETFramework.ReferenceAssemblies (1.0) - copy_local: true + Microsoft.NETFramework.ReferenceAssemblies.net20 (>= 1.0) - restriction: && (>= net20) (< net40) + Microsoft.NETFramework.ReferenceAssemblies.net40 (>= 1.0) - restriction: && (>= net40) (< net45) + Microsoft.NETFramework.ReferenceAssemblies.net45 (>= 1.0) - restriction: && (>= net45) (< net451) + Microsoft.NETFramework.ReferenceAssemblies.net451 (>= 1.0) - restriction: && (>= net451) (< net452) + Microsoft.NETFramework.ReferenceAssemblies.net452 (>= 1.0) - restriction: && (>= net452) (< net46) + Microsoft.NETFramework.ReferenceAssemblies.net46 (>= 1.0) - restriction: && (>= net46) (< net461) + Microsoft.NETFramework.ReferenceAssemblies.net461 (>= 1.0) - restriction: && (>= net461) (< net462) + Microsoft.NETFramework.ReferenceAssemblies.net462 (>= 1.0) - restriction: && (>= net462) (< net47) + Microsoft.NETFramework.ReferenceAssemblies.net47 (>= 1.0) - restriction: && (>= net47) (< net471) + Microsoft.NETFramework.ReferenceAssemblies.net471 (>= 1.0) - restriction: && (>= net471) (< net472) + Microsoft.NETFramework.ReferenceAssemblies.net472 (>= 1.0) - restriction: && (>= net472) (< net48) + Microsoft.NETFramework.ReferenceAssemblies.net48 (>= 1.0) - restriction: >= net48 + Microsoft.NETFramework.ReferenceAssemblies.net20 (1.0) - copy_local: true, restriction: && (>= net20) (< net40) + Microsoft.NETFramework.ReferenceAssemblies.net40 (1.0) - copy_local: true, restriction: && (>= net40) (< net45) + Microsoft.NETFramework.ReferenceAssemblies.net45 (1.0) - copy_local: true, restriction: && (>= net45) (< net451) + Microsoft.NETFramework.ReferenceAssemblies.net451 (1.0) - copy_local: true, restriction: && (>= net451) (< net452) + Microsoft.NETFramework.ReferenceAssemblies.net452 (1.0) - copy_local: true, restriction: && (>= net452) (< net46) + Microsoft.NETFramework.ReferenceAssemblies.net46 (1.0) - copy_local: true, restriction: && (>= net46) (< net461) + Microsoft.NETFramework.ReferenceAssemblies.net461 (1.0) - copy_local: true, restriction: && (>= net461) (< net462) + Microsoft.NETFramework.ReferenceAssemblies.net462 (1.0) - copy_local: true, restriction: && (>= net462) (< net47) + Microsoft.NETFramework.ReferenceAssemblies.net47 (1.0) - copy_local: true, restriction: && (>= net47) (< net471) + Microsoft.NETFramework.ReferenceAssemblies.net471 (1.0) - copy_local: true, restriction: && (>= net471) (< net472) + Microsoft.NETFramework.ReferenceAssemblies.net472 (1.0) - copy_local: true, restriction: && (>= net472) (< net48) + Microsoft.NETFramework.ReferenceAssemblies.net48 (1.0) - copy_local: true, restriction: >= net48 Microsoft.SourceLink.Common (1.0) - copy_local: true Microsoft.SourceLink.GitHub (1.0) - copy_local: true Microsoft.Build.Tasks.Git (>= 1.0) diff --git a/Content/Library/src/MyLib.1/MyLib.1.fsproj b/Content/Library/src/MyLib.1/MyLib.1.fsproj index 2fa1b627..a4582962 100755 --- a/Content/Library/src/MyLib.1/MyLib.1.fsproj +++ b/Content/Library/src/MyLib.1/MyLib.1.fsproj @@ -18,7 +18,5 @@ - - diff --git a/Content/Library/src/MyLib.1/paket.references b/Content/Library/src/MyLib.1/paket.references index a87844a3..a75bccba 100644 --- a/Content/Library/src/MyLib.1/paket.references +++ b/Content/Library/src/MyLib.1/paket.references @@ -1,2 +1,3 @@ FSharp.Core -Microsoft.SourceLink.GitHub \ No newline at end of file +Microsoft.SourceLink.GitHub +Microsoft.NETFramework.ReferenceAssemblies diff --git a/Content/Library/tests/MyLib.1.Tests/MyLib.1.Tests.fsproj b/Content/Library/tests/MyLib.1.Tests/MyLib.1.Tests.fsproj index c38e9f2c..871ec920 100755 --- a/Content/Library/tests/MyLib.1.Tests/MyLib.1.Tests.fsproj +++ b/Content/Library/tests/MyLib.1.Tests/MyLib.1.Tests.fsproj @@ -12,7 +12,5 @@ - -