F #: FSC: Error FS2024: static linking may not use an assembly targeting different profiles

F # is my first programming language. I am using MS Visual Studio 2013, .NET Framework 4.5. For my personal coding project, these are the links I have included:

  • FSharp.Data.TypeProviders
  • Microsoft.Experimental.Collections
  • Newtonsoft.Json
  • System
  • System.Data li>
  • System.Data.Linq
  • System.Runtime.Serialization
  • System.Xml

I got the error as mentioned in the title of this post. I tried the solution mentioned here , but I was unable to install the latest build of Visual F # Tools, presumably because "the certificate chain could not be built with a trusted root authority". So I tried to download the appropriate security update as recommended on this Microsoft support page , but a pop-up message appeared with this message: "The update is not applicable to your computer."

After I was unable to load the latest build of Visual F # Tools, I proceeded to remove all my references and then added them back. After re-adding each link, I built my solution again to check if I got an error telling me that there was a FS2024 error. I got the following error after re-adding System.Data.Linq:

warning MSB3277: Conflicts were found between different versions which cannot be resolved.

I checked all my references individually and found that they all refer to the same versions of common dependent assemblies. I have absolutely no idea what caused this warning.

I am currently in my mind and I would appreciate any help I can get. Thank.

EDIT:

I have set the verbosity of the MSBuild project output to Verbose. I expected to see error messages similar to the example on this page , but there were none.

EDIT:

Apologies for the text below. I copied and pasted the assembly output:

------ Build started: Project: FighterAnalysis, Configuration: Debug Any CPU ------ Target "_CheckForInvalidConfigurationAndPlatform" to file "C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common. CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(entry point): Task" Message "Task" Message "Target" BeforeBuild "to file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from the project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(the target" Build "): Target" BuildOnlySettings "in the file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" CoreBuild "depends on it): Target" GetFrameworkPaths "in file" C: \ Program Files (X86) \ MSBuild \ 12.0 \ Bin \ Microsoft.NetFramework.CurrentVersion.targets "from the project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(the target" PrepareForBuild "depends on this ): Target "GetReferenceAssemblyPaths" in file "C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets" from project "G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(the target depends on this"PrepareForBuild "): Task" GetReferenceAssemblyPaths "Target" PrepareForBuild "in file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(the target" CoreBuild "depends on this): Task" FindAppConfigFile "Task" MakeDir "Target" BeforeResolveReferences "in file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" ResolveReferences "depends on it): Target" AssignProjectConfiguration "in file" C :\ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(the target depends on it" ResolveReferences "): Task Target AssignProjectConfiguration" _SplitProjectReferencesByFileExistence "in file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(Target" ResolveProjectReferences "depends on it): Target" ResolveProjectReferences "in file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets " from project "G:\ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(Target" ResolveReferences "depends on it): Target" GetInstalledSDKLocations "in file" C: \ Program Files "(x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" ResolveSDKReferences "depends on it): Target" ResolveSDKReferences "in file" C : \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(the target depends on it "ResolveAssemblyReferences"): Target "ExpandSDKReferences "in file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" ResolveAssemblyReferences "depends on it): Target" ResolveAssemblyReferences "in file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(the target" ResolveReferences "depends on it): The" ResolveAssemblyReference "Target" GenerateBindingRedirects "in the file" C: \ Program Files (X86) \ MSBuild \ 12.0 \ Bin \ Microsoft.Common.CurrentVersion.targets "from project" G:\ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(Target" ResolveReferences "depends on it): Task" GenerateBindingRedirects "No recommended binding redirects from ResolveAssemblyReferences. Target" AfterResolve: CReferences " Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(the target" ResolveReferences "depends on it ): Target "ImplicitlyExpandDesignTimeFacades" in file "C: \ Program Files (X86) \ MSBuild \ 12.0 \ Bin \ Microsoft.NetFramework.CurrentVersion.targets" from project "G:\ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(Target" ResolveReferences "depends on it): Task" Message "Target" ResolveReferences "in file" C: \ Program Files "(x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" CoreBuild "depends on this): Target" ValidationExtension " to file "C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.WorkflowBuildExtensions.targets" from project "G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj" (target " PrepareResources "depends on it):Target "ExpressionBuildExtension" in file "C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.WorkflowBuildExtensions.targets" from project "G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" PrepareResources "depends on it): Target" AfterMarkupCompilePass1 "in file" C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.WinFx.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(Target" PrepareResources "depends on it): Target" FileClassification "in file" C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.WinFx.targets " from project "G:\ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(Target" PrepareResources "depends on it): Target" AssignTargetPaths "in file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" PrepareResourceNames "depends on it): Task Task" AssignTargetPath "Task" AssignTargetPath " "AssignTargetPath" Task "AssignTargetPath" Target "SplitResourcesByCulture" in file "C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets" from project "G:\ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(Target" PrepareResourceNames "depends on it): Task" AssignCulture "Target" CreateCustomManifestResourceNames "in file" C: \ Program Files (x86) \ MSBuild 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" PrepareResourceNames "depends on it): Target" PrepareResourceNames "in file "C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets" from project "G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj" (from it depends on the target "PrepareResources "): Target" BeforeResGen "to file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" ResGen "depends on it): Target" CoreResGen "in file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(the target" ResGen "depends on it): Target" AfterResGen "in the file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G:\ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(the target" ResGen "depends on it): Target" ResGen "in the file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" PrepareResources "depends on it): Target" PrepareRdlFiles "to file" C: \ Program Files (X86) \ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ ReportingServices \ Microsoft.ReportingServices.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target parameter "CompileRdlFiles" depends on it): Target "CompileRdlFiles "to file" C: \ Program Files (X86) \ MSBuild \ Microsoft \ VisualStudio \ v12.0 \ ReportingServices \ Microsoft.ReportingServices.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" PrepareResources "depends on it): Target" PrepareResources "in file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" CoreBuild "depends on this): Target" _SetEmbeddedWin32ManifestProperties "in file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G:\ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(Target" SetWin32ManifestProperties "depends on it): Task" GetFrameworkPath "Target" SetWin32ManifestProperties "in file" C: \ ProgramBild (x86) \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(Target" Compilation "depends on it): Target" _GenerateCompileInputs " to the file "C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets" from project "G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj" ( target "Compilation"depends on it): Target "GenerateTargetFrameworkMonikerAttribute" in file "C: \ Program Files (x86) \ Microsoft SDKs \ F # \ 3.1 \ Framework \ v4.0 \ Microsoft.FSharp.Targets" from project "G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(the target" BeforeCompile "depends on it): Skipping the target" GenerateTargetFrameworkMonikerAttribute "because all the output files are up to date with respect to the input files. Target "BeforeCompile" to file "C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets" from project "G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis .fsproj "(the target" Compilation "depends on it): Target"DesignTimeXamlMarkupCompilation "in the file" C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.Xaml.targets "from the project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "( target "CoreCompile" depends on it): Target "DesignTimeMarkupCompilation" in file "C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Microsoft.WinFx.targets" from project "G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" CoreCompile "depends on it): Target" CoreCompile "in file" C: \ Program Files (x86) \ Microsoft SDK \ F # \ 3.1 \ Framework \ v4.0 \ Microsoft.FSharp.Targets "from project" G:\ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(the target" Compilation "depends on it): Task" Fsc "C: \ Program Files (x86) \ Microsoft SDKs \ F # \ 3.1 \ Framework \ v4.0 \ fsc.exe -o: obj \ Debug \ FighterAnalysis.exe -g --debug: full --noframework --define: DEBUG --define: TRACE --doc: bin \ Debug \ ConsoleApplication8.XML - -optimize- --tailcalls- - -platform: anycpu32bitpreferred -r: "C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ FSharp.NETFramework \ v4.0 \ 4.3.0.0 \ FSharp.Core.dll" -r : "C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ FSharp.NETFramework \ v4.0 \ 4.3.0.0 \ Type Providers \ FSharp.Data.TypeProviders.dll" -r: "G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ packages \ Microsoft.Experimental.Collections.1.0.3-alpha \ lib \ portable net45 + Win8 + KP8 \ Microsoft.Experimental.Collections.dll "-r:" C: \ Program Files (x86) \ Microsoft SQL Server \ 120 \ SDK \ Assemblies \ Microsoft.SqlServer.Types. dll "-r: G: \ Downloads \ Json60r8 \ Bin \ Net40 \ Newtonsoft.Json.dll -r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ System.Core .dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ System.Data.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ System.Data.Linq.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ System.dll "- r: "C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ System.Runtime.Serialization.dll" -r: "C:\ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ System.Xml.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4. 5 \ System.Xml.Linq.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Collections.Concurrent.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Collections.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework. NETFramework \ v4.5 \ Facades \ System.ComponentModel.Annotations.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.ComponentModel.dll " -r: "C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.ComponentModel.EventBasedAsync.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Diagnostics.Contracts.dll "-r : "C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Diagnostics.Debug.dll" -r: "C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Diagnostics.Tools.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System. Diagnostics.Tracing.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Dynamic.Runtime.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Globalization.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.IO.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Linq.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System. Linq.Expressions.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Linq.Parallel.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Linq.Queryable.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Net.NetworkInformation.dll "-r:" C:\ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Net.Primitives.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework. NETFramework \ v4.5 \ Facades \ System.Net.Requests.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.ObjectModel.dll " -r: "C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Reflection.dll" -r: "C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Reflection.Emit.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System. Reflection.Emit.ILGeneration.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Reflection.Emit.Lightweight.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Reflection. Extensions.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Reflection.Primitives.dll "-r:" C: \ Program Files ( x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Resources.ResourceManager.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4. 5 \ Facades \ System.Runtime.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Runtime.Extensions.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Runtime.InteropServices.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Runtime.InteropServices.WindowsRuntime.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Runtime.Numerics.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework. NETFramework \ v4.5 \ Facades \ System.Runtime.Serialization.Json.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Runtime. Serialization.Primitives.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Runtime.Serialization.Xml.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Security.Principal.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.ServiceModel.Duplex.dll "-r : "C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.ServiceModel.Http.dll" -r: "C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.ServiceModel.NetTcp.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System. ServiceModel.Primitives.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.ServiceModel.Security.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Text.Encoding.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Text.Encoding.Extensions.dll "-r:" C: \ Program Files ( x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Text.RegularExpressions.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4. 5 \ Facades \ System.Threading.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Threading.Tasks.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Threading.Tasks.Parallel.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Xml.ReaderWriter.dll "-r:" C:\ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.5 \ Facades \ System.Xml.XDocument.dll "-r:" C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework. NETFramework \ v4.5 \ Facades \ System.Xml.XmlSerializer.dll "--target: exe --warn: 3 --warnaserror: 76 --vserrors --validate-type-providers -LCID: 1033 --utf8output - fullpaths --flaterrors --systemystem: 6.00 --highentropyva + --sqmsessionguid: d24010b1-a544-43f6-9d1b-7c36097d4bb9 "C: \ Users \ User \ AppData \ Local \ Temp.NETFramework, Version = v4.5.AssemblyAttributes. fs "ConvertToAndFromDotNetTypes.fs Fighter.fs Fight.fs FightUpdated.fs HtmlParsing.fs JsonMethods.fs UrlInfo.fs GetFighterInfo.fs Download1.fs Download2.fs CompareFighters.fs Program.fs FSC: FS2024 Error: Static Linking May Not Use Build designed for different profile.Target "_CheckForCompileOutputs" in file "C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets" from project "G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis .fsproj "(Target" _CleanGetCurrentAndPriorFileWrites "depends on it): Target" _CleanGetCurrentAndPriorFileWrites "in file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" copy \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(Target" _CleanRecordFileWrites "depends on it): Task Task" ReadLinesFromFile "Task" ConvertToAbsolutePath "Task" FindUnderPath "Task" FindPathFindUnderPath "Task" RemoveDuplicates "Target" _CleanRecordFileWrites "in file" C: \ Program Files (x86) \ MSBuild \ 12.0 \ bin \ Microsoft.Common.CurrentVersion.targets "from project" G: \ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" CoreBuild "depends on it): Task" DeleteDuplicates "Task" MakeDir "Task" WriteLinesToFile "The finished building project" FighterAnalysis.fsproj "is FAILED.\ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" CoreBuild "depends on it): Task" DeleteDuplicates "Task" MakeDir "Task" WriteLinesToFile "Finished building project" FighterAnalysis.fsproj "- FAILED ...\ Backup \ Visual Studio 2013 \ Projects \ FighterAnalysis \ FighterAnalysis \ FighterAnalysis.fsproj "(target" CoreBuild "depends on it): Task" DeleteDuplicates "Task" MakeDir "Task" WriteLinesToFile "Finished building project" FighterAnalysis.fsproj "- FAILED ...

+2


source to share


1 answer


I solved the problem by creating a new project, moving all my source files over, and reinstalling all the DLLs I needed. After that, I have no problem building my project. I think Karsten (who wrote the first comment on my answer here ) is correct in saying that the versions are somehow messed up in the original solution files.



0


source







All Articles