我的程序中有一个Missing Method Exception声明我的代码中缺少一个方法,问题是我的方法驻留在我的代码中,我试图清理,重建删除并添加dll文件,同样的事情发生了,我也尝试从团队基础服务器重新映射我的项目并且问题仍然存在,下面是Missing Method Exception ScreenShot of Exception Messages中的“Missing Method”:
public static SQLiteDataStore MyDataStore
{
get
{
if (DatabaseUsed == DatabaseType.Loaded)
{
if (_isIntializedNew)
return _myLoadedDataInstance;
else
{
_myLoadedDataInstance = new SQLiteDataStore(LoadedDatabaseFullPath);
_myLoadedDataInstance.CreateOrUpdateStore();
_myLoadedDataInstance.ConnectionBehavior = ConnectionBehavior.Persistent;
_myLoadedDataInstance.RecoveryEnabled = false;
_isIntializedNew = true;
GetAllEntities();
return _myLoadedDataInstance;
}
}
else
{
if (_isIntialized)
return _myCurrentDataInstance;
else
{
_myCurrentDataInstance = new SQLiteDataStore(CurrentDatabaseFullPath);
_myCurrentDataInstance.CreateOrUpdateStore();
_myCurrentDataInstance.ConnectionBehavior = ConnectionBehavior.Persistent;
_myCurrentDataInstance.RecoveryEnabled = false;
_isIntialized = true;
GetAllEntities();
return _myCurrentDataInstance;
}
}
}
set
{
if (DatabaseUsed == DatabaseType.Loaded)
{
_myLoadedDataInstance = value; _isIntializedNew = false;
}
else
{
_myCurrentDataInstance = value; _isIntialized = false;
}
}
}
任何人都知道如何追踪这些或解决方案的根本原因来解决这个问题?