JAVA나 J#을 이용해서 개발하지 않은 경우에도 VJSharpCodeProvider 가 호출이 되며 문제가 발생 할 수 있습니다. 원문 : http://blogs.msdn.com/b/pfedev/archive/2007/11/13/assemblyresolve-event-and-vjsharpcodeprovider.aspx It works at first and then later breaks...Reviewing We know that the VJSharpCodeProvider is not on their system but the failure to load this file is normal so why does it start becoming a problem? In conclusion, when the application is first launched their code has not executed yet therefore the ResolveEventHandler has not been hooked up to the AssemblyResolve event. However later in the run of the application when a recompile occurs and we reprobe for the VJSharpCodeProvider the exception is thrown and the ASP.NET Compile code is not expecting and exception do this leads to other errors. Once we fixed up the handler to return NULL the application worked. It sailed through testing and I got to go to bed!! I hope that this helps someone else out. |