在 VS2012 中加载项目时出错

Error While loading project in VS2012

Error 109 'Could not load file or assembly 'DevExpress.Web.v14.1, Version=14.1.7.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a' or one of its dependencies. Invalid pointer (Exception from HRESULT: 0x80004003 (E_POINTER))'

我以前在 VS2008 上工作,但最近我从 VS2008 转移到 VS2012。一切正常,但每当我在我的项目中添加 Devexpress 控件(网格视图)时,我都会收到此错误消息。

我在 Google 上搜索过这个错误,每次我都找到下面提到的 link 但它并没有解决我的问题。

Link 我以前从 Google 得到: https://www.devexpress.com/Support/Center/Question/Details/KA18620

请帮忙。

我认为您的项目针对的是 .NET 4 之前的版本。DevExpress 组件的 14.1 版需要 .NET 4+。更改项目中的 .NET 版本 properties.