Why the web.config isn't copied when I publish an ASP.NET Web Project with the “Only files needed to run this application” option?

前端 未结 3 1992
鱼传尺愫
鱼传尺愫 2021-02-20 11:18

How to correct it?

3条回答
  •  逝去的感伤
    2021-02-20 12:08

    I know it sounds silly but make sure it is marked as 'Content' as it's Build Action under it's properties.

提交回复
热议问题