cop*_*lii 6 win-universal-app entity-framework-core
对我来说这是一个有趣的问题.在我工作的机器,我的代码工作完全正常,但我家的机器上有一个新的开始,当sqlite文件,我得到的InvalidOperationException时候db.Database.Migrate()被调用.
根据Windows Update,这两台机器都是最新的.
Visual Studio 2015还在两台计算机上显示为最新.
我正在运行EF7 rc1-final
堆栈跟踪并不完全深入:
System.InvalidOperationException occurred
HResult=-2146233079
Message=The API 'System.Reflection.MemberInfo.get_MetadataToken()' cannot be used on the current platform. See http://go.microsoft.com/fwlink/?LinkId=248273 for more information.
Source=mscorlib
StackTrace:
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
InnerException:
Run Code Online (Sandbox Code Playgroud)
提供的链接只是进入MSDN主页面.我个人更喜欢404.
有问题190,但我不明白为什么它只会是在我的机器的一个问题.
有解决方案/解决方法吗?
| 归档时间: |
|
| 查看次数: |
280 次 |
| 最近记录: |