none
System.Data.OracleClient Missing From .NET 4.0 (NOT client)? RRS feed

  • Question

  • Greetings,

    I'm having trouble getting an application to build, due to this error:

    The type or namespace name 'Data' does not exist in the namespace 'Microsoft.Practices.EnterpriseLibrary' (are you missing an assembly reference?)    G:\EBR_QA\EBRX\EBRWebService.asmx.cs    11    45    EBRX

    It's coupled with this warning:

    The primary reference "Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the framework assembly "System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" or retarget your application to a framework version which contains "System.Data.OracleClient, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089".    EBRX

    Forums that I have read claim that reinstalling .NET Framework 4.0 will solve the problem, however it did not.  Also, the target framework is NOT the client framework, it is the full 4.0 install.  Can anyone assist?

    Thanks in advance,
    Brandon



    Monday, January 11, 2016 7:29 PM

Answers

All replies