Why is VisualStudio/Firefox giving me a YSOD from code in an excluded class?
问题 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