From 43353866bd443a4b06e8705912f933699895dfdc Mon Sep 17 00:00:00 2001 From: Enrico Sada Date: Sun, 10 Feb 2019 17:04:29 +0100 Subject: [PATCH] using FSharpLint.Core with `net` fails ``` Error Message: System.TypeInitializationException : The type initializer for 'FSharpLint.Framework.Configuration' threw an exception. ----> System.TypeInitializationException : The type initializer for '.$Configuration' threw an exception. ----> System.IO.FileLoadException : Could not load file or assembly 'FParsecCS, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) ``` That's caused by bad packaging of FParsec ref https://github.com/stephan-tolksdorf/fparsec/issues/34 --- tests/FSharpLint.Core.Tests/FSharpLint.Core.Tests.fsproj | 2 +- .../FSharpLint.FunctionalTest/FSharpLint.FunctionalTest.fsproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/FSharpLint.Core.Tests/FSharpLint.Core.Tests.fsproj b/tests/FSharpLint.Core.Tests/FSharpLint.Core.Tests.fsproj index c4ead8ff4..8c63e599e 100644 --- a/tests/FSharpLint.Core.Tests/FSharpLint.Core.Tests.fsproj +++ b/tests/FSharpLint.Core.Tests/FSharpLint.Core.Tests.fsproj @@ -1,7 +1,7 @@ - netcoreapp2.0 + netcoreapp2.0;net461 false diff --git a/tests/FSharpLint.FunctionalTest/FSharpLint.FunctionalTest.fsproj b/tests/FSharpLint.FunctionalTest/FSharpLint.FunctionalTest.fsproj index 7dcb9198c..8010f8f97 100644 --- a/tests/FSharpLint.FunctionalTest/FSharpLint.FunctionalTest.fsproj +++ b/tests/FSharpLint.FunctionalTest/FSharpLint.FunctionalTest.fsproj @@ -1,7 +1,7 @@  - netcoreapp2.0 + netcoreapp2.0;net461 false