facebook-csharp-sdk / simple-json

JSON library for .NET 2.0+/SL4+/WP7/WindowsStore with optional support for dynamic and DataContract
MIT License
380 stars 143 forks source link

I cannot build SL5 project #22

Closed kerryjiang closed 11 years ago

kerryjiang commented 12 years ago

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

prabirshrestha commented 12 years ago

try cleaning the solution and building it again.

kerryjiang commented 12 years ago

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: https://github.com/facebook-csharp-sdk/simple-json/issues/22#issuecomment-5258748

prabirshrestha commented 12 years ago

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

prabirshrestha commented 11 years ago

closing. cannot reproduce.