我更新了我的项目以使用Automapper 3.0.0,现在我的TFS构建没有成功.错误如下:
" ... System.PlatformNotSupportedException:System.PlatformNotSupportedException:此平台上的IMapperRegistry不支持此类型. "
有没有人可以帮我解决这个问题.与此同时,我将恢复到以前的版本,因为那个似乎工作正常.
我想创建一个在后台线程中运行另一个方法的方法.像这样的东西:
void Method1(string param)
{
// Some Code
}
void Method2(string param)
{
// Some Code
}
void RunInThread(AMethod m)
{
//Run the method in a background thread
}
Run Code Online (Sandbox Code Playgroud)