Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 VS2010 (VB.NET) 开发一个 win 项目。但有时我在调试模式下尝试观察变量时会收到消息:
" 'EntityMaster' 未声明。由于其保护级别,它可能无法访问。"
EntityMaster 是一个变量。
也许您的变量可能正在被 Visual Studio 优化。请参阅此处了解更多信息:
“优化代码”选项在 Visual Studio 中的真正作用是什么?