我正在将.Net Framework库迁移到.Net标准,编译器无法从System.Reflection.Emit
找到核心构建器。dotnet核心中的MethodBuilder,ModuleBuilder和AssemblyBuilder在哪里?
如果我在正确的地方,然后API文档指出,这些制造商(MethodBuilder
,ModuleBuilder
和AssemblyBuilder
)是System.Reflection.Emit
一部分。
这是project.json
为我的图书馆:
{
"version": "1.0.0-*",
"buildOptions": {
"debugType": "portable"
},
"dependencies": {},
"frameworks": {
"netstandard1.6": {
"dependencies": {
"NETStandard.Library": "1.6.0"
}
}
}
}
我是否需要任何额外的参考?
为我工作。我不知道为什么这是downvoted ... –