facebook-csharp-sdk/simple-json

I cannot build SL5 project

Closed this issue · 4 comments

It said:

D:\Kerry\Workshop\SimpleJson\src\SimpleJson\SimpleJson.cs(1715,47): error CS1729: 'System.Reflection.Emit.DynamicMethod' does not contain a constructor that takes 5 arguments
D:\Kerry\Workshop\SimpleJson\src\SimpleJson\SimpleJson.cs(1773,21): error CS1729: 'System.Reflection.Emit.DynamicMethod' does not contain a constructor that takes 5 arguments
D:\Kerry\Workshop\SimpleJson\src\SimpleJson\SimpleJson.cs(1774,21): error CS1729: 'System.Reflection.Emit.DynamicMethod' does not contain a constructor that takes 5 arguments

try cleaning the solution and building it again.

Still doesn't work.

-----Original Message-----
From: Prabir Shrestha
Sent: Saturday, April 21, 2012 3:35 PM
To: Kerry Jiang
Subject: Re: [simple-json] I cannot build SL5 project (#22)

try cleaning the solution and building it again.


Reply to this email directly or view it on GitHub:
#22 (comment)

I randomly get the same error you get.

Make sure you don't have SimpleJson.cs file opened in the VS tab. close it and then clean all solution then build. It is an annoying bug in VS.

Or you can also use the build script

install node js, then execute npm install -g jake, then in command line type jake build:sl5

closing. cannot reproduce.