Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. is it possible to share the web.config across multiple projects in a solution?(ASP.NET)

is it possible to share the web.config across multiple projects in a solution?(ASP.NET)

Scheduled Pinned Locked Moved Web Development
csharpasp-netquestion
4 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    byka
    wrote on last edited by
    #1
    N 1 Reply Last reply
    0
    • B byka
      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      You are referencing Visual Studio projects and solutions correct? In which yes it is possible. Using source control the file can be shared across multiple projects.


      No comment

      B 1 Reply Last reply
      0
      • N Not Active

        You are referencing Visual Studio projects and solutions correct? In which yes it is possible. Using source control the file can be shared across multiple projects.


        No comment

        B Offline
        B Offline
        byka
        wrote on last edited by
        #3

        more details. I have: 1 solution 5 projects -> 1 projects has references to 2,3,4 project(s). I would like to use 1 web.config across all 5. How do I do this? I don't have IIS install on my pc

        S 1 Reply Last reply
        0
        • B byka

          more details. I have: 1 solution 5 projects -> 1 projects has references to 2,3,4 project(s). I would like to use 1 web.config across all 5. How do I do this? I don't have IIS install on my pc

          S Offline
          S Offline
          Shahriar Iqbal Chowdhury Galib
          wrote on last edited by
          #4

          Hi, I believe its possible, I googled and found some similar answer.You can check these links below, http://devlicio.us/blogs/derik_whittaker/archive/2008/04/15/how-to-share-configuration-files-between-projects.aspx[^] http://aaronfeng.blogspot.com/2006/03/override-default-net-configuration.html[^] http://stackoverflow.com/questions/4007572/is-it-possible-to-share-the-web-config-across-multiple-projects-in-a-solutionas[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups