cityindex/CIAPI.CS — Issue #120: nunit runner does not want to load jsonconvert in limited permission appdomain
Author: bitpusher
Created: 2012-02-06 13:59:21+00:00
State: open

when separating dependencies am running into this when running build.cmd

Errors and Failures:
EXEC : 1) Test error : CIAPI.Tests.Rpc.ApiContextTests.ApiAuthenticationFailure [C:\dev\CityIndex\CIAPI\src\build.xml]
System.TypeInitializationException : The type initializer for 'Newtonsoft.Json.JsonConvert' threw an exception.
----> System.Security.VerificationException : Operation could destabilize the runtime.
at Newtonsoft.Json.JsonConvert.SerializeObject(Object value)
at CIAPI.Tests.Rpc.ApiContextTests.ApiAuthenticationFailure() in c:\dev\CityIndex\CIAPI\src\CIAPI.Tests\Rpc\ApiContextTests.cs:line 91
--VerificationException
at Newtonsoft.Json.JsonConvert..cctor() in d:\Development\Releases\Json\Working\Src\Newtonsoft.Json\JsonConvert.cs:line 47