ravipatidar54 / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Recompile for .Net4 #219

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
At our project we use newtonsoft.json.dll compiled againts .net4, so we have 
problems with using google.apis.*.dll which references 
newtonsoft.json.net35.dll, which colides with .net4 version of library, while 
google.gdata.client.dll targets "correct" version library.

Can future version of google-api-dotnet-client use the same?

Original issue reported on code.google.com by pavel.ko...@gmail.com on 14 Jun 2012 at 12:48

GoogleCodeExporter commented 9 years ago
Hi there,
Sorry we have made the decision to support 3.5 so all our dlls will be compiled 
for 3.5 these will work from 4.0 (unless like your case ou have different 
version of the 3rd party components).

For you to go forward I would suggest either replacing your version of 
newtonsoft with the version compiled for 3.5, or checkout the source of this 
project and build as 4.0.

Sorry I could not of been more help.

Original comment by davidwat...@google.com on 28 Jul 2012 at 4:30

GoogleCodeExporter commented 9 years ago
Why don't you compile for multiple targets? Compile for 3.5 and 4 and 4.5 and 
stick them into same nuget. Many projects do so. Just look at the 
NewtonSoft.Json itself. Nuget figures out these dependencies.

Original comment by oliver.j...@gmail.com on 17 Jan 2013 at 8:52