Unable to open configSource file that was added as link

前端 未结 6 994
走了就别回头了
走了就别回头了 2021-02-07 08:54

In my MVC application I use external config files to keep clean web.config. Some files are common and I added them to project as link from one location. For those files I set Co

6条回答
  •  天涯浪人
    2021-02-07 09:24

    I added the post build event as suggested. But the exact steps are:

    1. Right click on the project and navigate to properties
    2. Click on the Build Events tab
    3. In the Post-build event command line: box I added:

    xcopy /s "$(ProjectDir)\bin\Config" "$(ProjectDir)\Config"

提交回复
热议问题