2013-09-28 120 views
0

我收到了這些構建警告。針對比項目當前目標框架更高的框架

The referenced project 'X' is targeting a higher framework version (4.5) than this project’s current target framework version (4.0). This may lead to build failures if types from assemblies outside this project’s target framework are used by any project in the dependency chain.

The primary reference "C:\X\X.dll" could not be resolved because it was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0".

This may lead to build failures.

有誰知道哪一種失敗

回答