ysod

Why is VisualStudio/Firefox giving me a YSOD from code in an excluded class?

本秂侑毒 提交于 2020-01-16 06:11:40
问题 I excluded a class from my project (right-click > "Exclude from Project"); the file dutifully vanished from the Solution Explorer. Yet, when I run the app, it YSODs with an error in that excluded file. How do I tell Visual Studio and/or Firefox (the browser the app is currently using) that I really meant it when I excluded the *.cs class from the project? UPDATE More strangeness similar to the above: It seems that VS really gets confused with the combination of syntaxes occurring in a cshtml

Why is VisualStudio/Firefox giving me a YSOD from code in an excluded class?

梦想的初衷 提交于 2020-01-16 06:11:09
问题 I excluded a class from my project (right-click > "Exclude from Project"); the file dutifully vanished from the Solution Explorer. Yet, when I run the app, it YSODs with an error in that excluded file. How do I tell Visual Studio and/or Firefox (the browser the app is currently using) that I really meant it when I excluded the *.cs class from the project? UPDATE More strangeness similar to the above: It seems that VS really gets confused with the combination of syntaxes occurring in a cshtml

How can I enable Assembly binding logging?

别等时光非礼了梦想. 提交于 2019-11-28 03:39:41
I'm getting, "Could not load file or assembly 'Bla' or one of its dependencies. An attempt was made to load a program with an incorrect format." A portion of the detailed info says: "WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]." So, thinking this may give me some insight in why I'm getting the

How can I enable Assembly binding logging?

☆樱花仙子☆ 提交于 2019-11-27 00:08:31
问题 I'm getting, "Could not load file or assembly 'Bla' or one of its dependencies. An attempt was made to load a program with an incorrect format." A portion of the detailed info says: "WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM