我收到了这些构建警告。
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.
有谁知道哪种失败?
答案 0 :(得分:0)
如果您引用的程序集使用在.NET 4.5中添加但在4.0中不存在的任何内容,则可能会失败。您可以查看更改和添加列表,例如在这里:Differences between .NET 4.0 and .NET 4.5 in High level in .NET