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.
当我的应用程序针对 x64 或 x86 而不是针对任何 CPU 编译时, 如何使类和类Debug.Fail的 the 和其他方法正常工作?DebugTrace
Debug.Fail
Debug
Trace
Go to the Project properties page in Build tab under General group check both Define DEBUG constant and TRACE constant these options will make it functional