0
我有一個簡單的.Net 4.5 WPF應用程序,並在VS2015和VS2017中進行調試。 VS2017給我不清楚例外:VS 2017調試,錯誤例外
Mat src = new Mat("lenna.png", ImreadModes.GrayScale); // image does not exist
VS2015異常引發右邊線是明確的:
An exception of type 'System.IO.FileNotFoundException' occurred in OpenCvSharp.dll but was not handled in user code
VS2017不走向右CS行號,並提出:
System.Windows.Markup.XamlParseException
我認爲我的VS2017配置有問題嗎?
是否XamlParseException有一個內部異常? – Chrille
{「」:「lenna.png」} – daniel
您應該能夠在內部異常中找到必要的信息。 – Chrille