System.Data.SqlClient packagereference does not flow between project references

43 Views Asked by At

I can't get System.Data.SqlClient to flow over my project references even though one of the projects is dependent of it.

SqlClientDependent project .csproj:enter image description here

ProjectReference to SqlClientDependent project:enter image description here

When i build SqlClientDependent project the bin folder gets:enter image description here

But when i build the Project that references SqlClientDependent project, the System.Data.SqlClient is not included in bin folder, and i, ofcourse, get a runtime error beacuse the SqlClientDependent project clearly needs the SqlClient package. Anyone understand why?

0

There are 0 best solutions below