简体   繁体   中英

Visual Studio 2013 and 2015

我在 2013 年和 2015 年的 Visual Studio 中遇到了智能问题,问题是某些内置函数没有显示拾取,当我手动输入时,它会给出错误,例如当我使用实体框架时,我使用 SaveChangesAsync() 但它没有显示当我输入它时会出错,而且更多的功能也不可用,它也不提供 DeleteOnSubmit(),以及其他类似的功能

This is usually because there is a reference to the wrong (older?) version of the dll in your web.config/app.config. Check your entity framework version numbers under references and compare them with those in your web.config.

In some projects, like MVC with areas, you will have multiple web.configs that will need checking

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM