fody - The realm dot net base example does not compile -


i having trouble @ getting example "quickjournal" compile on ios. code compiles ok, fails during fody step.

goals

try out example application .net through following - pull repository - open solution in examples/quickjournal - compile , test

expected results

smooth compilation & testing experience

actual results

fody out of memory exception

steps reproduce

see setup, follow steps using latest xamarin/visual studio mac/xcode

code sample

the regular realm source code

version of realm , tooling

git clone https://github.com/realm/realm-dotnet.git

git checkout 8f5e36ffd91e06b9c60b91f9de3fb312b411a4a4

the exception getting is
fody: found debug symbols @ '~/realm-dotnet/examples/quickjournal/quickjournal/obj/debug/quickjournal.pdb'. msbuild : error : fody: unhandled exception occurred: msbuild : error : exception: msbuild : error : out of memory msbuild : error : stacktrace: msbuild : error : @ (wrapper alloc) system.object:allocvector (intptr,intptr) msbuild : error : @ microsoft.cci.pdb.msfdirectory..ctor (microsoft.cci.pdb.pdbreader reader,

see log file realmcompilelog.txt

realm 1.2.1 addresses using updated version of fody.

answer older realm versions: caused cecil bug mono 5.0. realm depends on fody, uses cecil, compilation fail project referencing it. until new cecil , fody versions released, workaround revert mono 4.8:

enter image description here


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -