How to use mscorlib.dll instead of mscorlib.ni.dll?

寵の児 提交于 2019-12-11 15:57:45

问题


I'm trying to connect my app to use APM (New Relic), but Non-IIS App is preventing me from connecting my app to new relic. When my app is running using "process explorer" and I notice mscorlib.ni.dll.

From this article: https://discuss.newrelic.com/t/relic-solution-net-framework-agent-installation-issues-a-troubleshooting-guide/55166

I'm stuck at this part

mscorlib.dll is missing - mscorlib.dll is required to be present. It’s presence is how the .NET Framework agent identifies your application as a .NET app. If it is missing, please double-check to make sure your application meets the compatibility requirements 5 for monitoring by the .NET Framework agent. If you don’t see mscorlib.dll, but you do see mscorlib.ni.dll, then check to see if you’re using a native image module (such as NGEN). The .NET agent can not monitor applications that use a native image mscorlib.ni.dll assembly.

my app using mscorlib.ni.dll instead of mscorlib.dll, can someone guide me how to use mscorlib.dll ?

来源:https://stackoverflow.com/questions/51873893/how-to-use-mscorlib-dll-instead-of-mscorlib-ni-dll

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!