zhangyl0927 / dapper-dot-net

Automatically exported from code.google.com/p/dapper-dot-net
Other
0 stars 0 forks source link

Use of dynamic requires references to Microsoft.CSharp.dll and System.Core.dll. #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try and compile latest version.

I'd rather not include extraneous DLL references if I can help it.

Original issue reported on code.google.com by paulbart...@gmail.com on 30 Apr 2011 at 10:39

GoogleCodeExporter commented 8 years ago
I disagree, embrace the goodness of .Net 4.0, it has been out for a while now. 
And dynamic brings allot to the table.

Original comment by mattias%...@gtempaccount.com on 30 Apr 2011 at 10:07

GoogleCodeExporter commented 8 years ago
yeah I am not against a .Net 2.0 fork of sorts ... or port, but the core distro 
for dapper relies on dynamic. 

this works around some VS annoyances when it comes to passing in anon types to 
a method. Also Query without the generics will return an IEnumerable<dynamic> 

Original comment by sam.saff...@gmail.com on 1 May 2011 at 5:34

GoogleCodeExporter commented 8 years ago

Original comment by sam.saff...@gmail.com on 4 May 2011 at 10:36