Visual studio tüm projeler için tek app.config kullama

Visual Studio’da, solution içinde birden fazla proje ile çalışıyor ve bu projelerin hepsinin tek app.config dosyasını kullanmasını istiyorsan;

  • Projelerden sadece birinde app.config olsun.
  • Diğer rojelerde sağ klik -> Add -> “Add Existing Item” ile App.config dosyasını seç ve “Add” butonunun yanındaki minik üçgene basıp “Add as Link” seçeneği ile projene ekle.
  • Bitti, gitti.