c#,asp.net-mvc-4,mono,moq,typeinitializeexception
I was running Mono 3.12 as shown by mono -V. Updating to Mono 4 with sudo apt-get install mono-complete fixed the issue!
c#,parse.com,class-library,typeinitializeexception
Thanks to @Samuel I have amended my code as follows: using Parse; using System.Threading.Tasks; namespace ExperiorWrapper { public class ParseFunctions { public static async Task testParse() { ParseClient.Initialize("xxxx", "xxxx"); var testObject = new ParseObject("TestObject"); testObject["foo"] = "bar"; await testObject.SaveAsync(); } } } and the test now looks like this: [TestMethod]...