buildaction

Error “A namespace does not directly contain members such as fields or methods”

二次信任 提交于 2019-11-26 14:26:16
问题 I'm trying to build my C# project and I'm getting the error message "A namespace does not directly contain members such as fields or methods". It is flagging the first character (the less than symbol) of the app.config file. I've checked all of my files for places where there are variables or functions directly inside of a namespace--found nothing. The app.config looks fine. Google is failing me and I'm pulling my hair out. What could be causing this error? 回答1: Figures! As soon as I finally