我已經看過類似於此的所有其他問題,但沒有運氣。MSBuild在外部項目的依賴關係上失敗
這裏的解決方案設置:
當我試圖在這個首要解決的檢查,構建服務器失敗說出類似以下:
CodeFileInProjectB.cs (4): The type or namespace name 'Infrastructure' does not exist in the namespace 'System.Data.Entity' (are you missing an assembly reference?)
CodeFileInProjectB.cs (11): The type or namespace name 'DbPropertyEntry' could not be found (are you missing a using directive or an assembly reference?)
這顯然未能解決項目B的依賴EF。我檢查了所有的參考文獻,我甚至做了那個你確定<Private>True</Private>
位於csproj文件中的東西。
我參考了外部項目是否錯誤?到底他媽發生了什麼?我已經嘗試過八次,提出了各種SO問題的不同建議,但沒有運氣。
EF被作爲NuGet包引用? –
@GiulioVian是的。 – Tesserex