It was compiling and working fine right up until I reference Netwonsoft throughout some models to make sure the JSON Serialisation process succeeded correctly (well, it could have happened before then, but that was the latest change before I attempted to build it again).
Microsoft (R) Build Engine version 15.7.179.6572 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restore completed in 73.91 ms for /Users/adamshort/Desktop/Code/collaboro/ice/ICE/ICE.csproj.
Services/Implementations/TableService.cs(44,37): warning CS0168: The variable 'ex' is declared but never used [/Users/adamshort/Desktop/Code/collaboro/ice/ICE/ICE.csproj]
ICE -> /Users/adamshort/Desktop/Code/collaboro/ice/ICE/bin/Debug/netstandard2.0/bin/ICE.dll
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. The system cannot find the file specified.
at System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
at System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
at System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
at System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimePropertyInfo property, RuntimeType caType)
at System.Attribute.InternalGetCustomAttributes(PropertyInfo element, Type type, Boolean inherit)
at System.Attribute.GetCustomAttribute(MemberInfo element, Type attributeType, Boolean inherit)
at System.Reflection.CustomAttributeExtensions.GetCustomAttribute[T](MemberInfo element)
at FunctionMonkey.Infrastructure.PostBuildPatcher.<>c.<ExtractPossibleQueryParameters>b__3_0(PropertyInfo x) in D:\wip\myOpenSource\functionMonkey\Source\FunctionMonkey\Infrastructure\PostBuildPatcher.cs:line 95
at System.Linq.Enumerable.WhereSelectArrayIterator`2.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at FunctionMonkey.Infrastructure.PostBuildPatcher.ExtractPossibleQueryParameters(HttpFunctionDefinition httpFunctionDefinition1) in D:\wip\myOpenSource\functionMonkey\Source\FunctionMonkey\Infrastructure\PostBuildPatcher.cs:line 92
at FunctionMonkey.Infrastructure.PostBuildPatcher.Patch(FunctionHostBuilder builder, String newAssemblyNamespace) in D:\wip\myOpenSource\functionMonkey\Source\FunctionMonkey\Infrastructure\PostBuildPatcher.cs:line 54
at FunctionMonkey.Compiler.Implementation.FunctionCompiler.Compile() in D:\wip\myOpenSource\functionMonkey\Source\FunctionMonkey.Compiler\Implementation\FunctionCompiler.cs:line 67
at FunctionMonkey.Compiler.Program.Main(String[] args) in D:\wip\myOpenSource\functionMonkey\Source\FunctionMonkey.Compiler\Program.cs:line 45
/var/folders/ws/8qmgsd2d5qzgk18kqcr5tgb80000gn/T/tmpa999974e51404dffa5791cf067b9a5e3.exec.cmd: line 2: 91716 Abort trap: 6 dotnet "/Users/adamshort/.nuget/packages/functionmonkey.compiler/0.12.1-beta000/build/netstandard1.0/../../tools/netcoreapp2.0/FunctionMonkey.Compiler.dll" "/Users/adamshort/Desktop/Code/collaboro/ice/ICE/bin/Debug/netstandard2.0/bin/ICE.dll"
/Users/adamshort/.nuget/packages/functionmonkey.compiler/0.12.1-beta000/build/netstandard1.0/FunctionMonkey.Compiler.targets(11,5): error MSB3073: The command "dotnet "/Users/adamshort/.nuget/packages/functionmonkey.compiler/0.12.1-beta000/build/netstandard1.0/../../tools/netcoreapp2.0/FunctionMonkey.Compiler.dll" "/Users/adamshort/Desktop/Code/collaboro/ice/ICE/bin/Debug/netstandard2.0/bin/ICE.dll"" exited with code 134. [/Users/adamshort/Desktop/Code/collaboro/ice/ICE/ICE.csproj]
Build FAILED.
Services/Implementations/TableService.cs(44,37): warning CS0168: The variable 'ex' is declared but never used [/Users/adamshort/Desktop/Code/collaboro/ice/ICE/ICE.csproj]
/Users/adamshort/.nuget/packages/functionmonkey.compiler/0.12.1-beta000/build/netstandard1.0/FunctionMonkey.Compiler.targets(11,5): error MSB3073: The command "dotnet "/Users/adamshort/.nuget/packages/functionmonkey.compiler/0.12.1-beta000/build/netstandard1.0/../../tools/netcoreapp2.0/FunctionMonkey.Compiler.dll" "/Users/adamshort/Desktop/Code/collaboro/ice/ICE/bin/Debug/netstandard2.0/bin/ICE.dll"" exited with code 134. [/Users/adamshort/Desktop/Code/collaboro/ice/ICE/ICE.csproj]
1 Warning(s)
1 Error(s)
Time Elapsed 00:00:07.96
Which is a gleefully large error message that seems to be just saying that it can't find Newtonsoft.
Which is troubling, as I have 11.0.2 installed across the platform and it is referenced from multiple dependencies as well. I have tried clearing the bin & obj, restoring, reinstalling Newtonsoft, downgrading Newtonsoft, ect...
But with no success.