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

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -