Why does Debug.Writeline stop working for some projects in the solution?

后端 未结 6 1676
广开言路
广开言路 2020-12-04 00:21

We have a solution with multiple projects after running the code from VS the output normally seen from Debug.Writeline statements just cease to appear. I mention the multip

6条回答
  •  清歌不尽
    2020-12-04 00:52

    Follow these steps, it works for me

    1. Right click on your project
    2. Select Properties
    3. Select tab Build
    4. Make sure Define DEBUG constant is checked

    Hope that helps

提交回复
热议问题