Compile for .NET 3.5 (with EF) not possible
-------------------------------------------
Key: DNET-343
URL: http://tracker.firebirdsql.org/browse/DNET-343
Project: .NET Data provider
Issue Type: Bug
Components: ADO.NET Provider
Environment: NET_35;PROTOCOL_VERSION12;ENTITY_FRAMEWORK
Target framework: 3.5
Reporter: Daniel Richter
Assignee: Jiri Cincura
If I try to compile FirebirdClient for .NET 3.5 (with EF) I run in following
issues:
- Assembly.IsFullyTrusted only exists since 4.0 (in FbConnectionInternal.cs)
-> I commented it out
- DbProviderServices has no overrides for DbCreateDatabase,
DbCreateDatabaseScript, DbDatabaseExists, DbDeleteDatabase (in
FbProviderServices.cs)
-> I surrounded it with #if NET_40
- GetHostingPath (in FbConnectionInternal.cs) tries to load System.Web version
4.0
-> I changed the condition from "#if NET_20 [take 2.0] #else [take 4.0]" to
"#if NET_40 [take 4.0] #else [take 2.0]" (setting the NET_20 flag together with
NET_35 doesn't work because of ambigous references to Func<>)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider