未找到ExcelReaderFactory.cs [英] ExcelReaderFactory.cs not found
问题描述
这是由二进制形式的外部库中发生的未捕获的异常引起的。未捕获的异常导致调试器跳入并尝试找到导致它的代码行,但是由于您没有源代码 ExcelReaderFactory
它会要求。 cs文件(以防万一你有代码的地方)。没有什么可担心的。
这里的解决方案是尝试捕获您的代码中外部库引起的以前未捕获的异常。您可以通过查看输出窗口找到异常的类型。
I'm quite new to c# and visual studio, and I'm having problems with libraries. With nuget I installed "ExcelReaderFactory" and everything work as it should, I can see all the classes and so on, but when I try to compile I get an error message "ExcelReaderFactory.cs not found". The thing that puzzles me is that the library is a .dll, so why is it even looking for an .cs file?? I hope you can clear it for me. Thank you!
This is caused by an uncaught exception happening in an external library in binary form. The uncaught exception causes the debugger to jump in and try to find the line of code which caused it but because you don't have the source for ExcelReaderFactory
it will ask for the .cs file (just in case you do have the code somewhere). Nothing to worry about.
The solution here is to try to catch the previously uncaught exception caused by your external library inside your code. You can find the type of exception by looking at the Output Window.
这篇关于未找到ExcelReaderFactory.cs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!