#if debug –> #if myOwnConfig?

Yes, this is possible.

Instructions:

  1. Build -> Configuration manager -> Active solution configuration -> New...
  2. Create a new configuration named: Offline.
  3. Project -> Properties -> Build -> Configuration -> Offline.
  4. Conditional compilation symbols, type: OFFLINE.
  5. Save project.
  6. Restart Visual Studio (reloading the project is not enough).

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)