we have a class library project called "VDIData" that is referencing devart's oracle + linq assemblies. here is the snipped from the .csproj file:
Code: Select all
...
False
..\_tools\devart\Devart.Data.dll
True
False
..\_tools\devart\Devart.Data.Linq.dll
True
False
..\_tools\devart\Devart.Data.Oracle.dll
True
False
..\_tools\devart\Devart.Data.Oracle.Linq.dll
True
3.5
3.5
3.5
3.5
3.5
...
when we compile the VDIData project all 4 devart dlls are copied to the bin directory!
we have another class library project called "VDIBusiness" that references the VDIData project. here is the snippet from the VDIBusiness.csproj:
Code: Select all
...
{146CB9FE-0A51-4B1F-B471-E73A186657D5}
VDIBusinessEntities
{A5761A06-1C69-4212-A913-A2DD7808B84E}
VDIData
...
- Devart.Data.dll
Devart.Data.Linq.dll
Devart.Data.Oracle.dll
the Devart.Data.Oracle.Linq.dll assembly is missing. why is that?
VDIBusiness itself is referenced in one of our web application projects (lets call it "VDIWeb1"). here is the snippet from VDIWeb1.csproj:
Code: Select all
...
{146CB9FE-0A51-4B1F-B471-E73A186657D5}
VDIBusinessEntities
{0DCDCD3A-D373-4B72-9A65-36F39B833226}
VDIBusiness
{6DEB87F2-0D09-4717-A42A-4E5064FA1263}
VDIMaster
...
every project compiles fine! however when we call default.aspx it says:
Could not load file or assembly 'Devart.Data.Oracle.Linq, Version=1.0.25.0, Culture=neutral, PublicKeyToken=09af7300eec23701' or one of its dependencies. The system cannot find the file specified.
if we copy the Devart.Data.Oracle.Linq.dll manually to the bin of VDIWeb1 it gives this error:
Unable to cast object of type 'Devart.Data.Oracle.OracleConnection' to type 'Devart.Data.Oracle.OracleConnection'.
i assume this will be a subsequent error. therefor please let us first solve the 1st problem: why isn't the Devart.Data.Oracle.Linq.dll copied to VDIBusiness bin?
here is the project/assemly dependency again in short form:
VDIData depends on:
- Devart.Data.dll
Devart.Data.Linq.dll
Devart.Data.Oracle.dll
Devart.Data.Oracle.Linq.dll
VDIData
however Devart.Data.Oracle.Linq.dll is already missing in VDIBusiness' bin after compilation
VDIWeb1 depends on:
VDIBusiness
please help us.
many thanks
p.s. it should NOT be neccessary to reference all devart dlls in every subsequent project, isn't it!!??