Unable to open configSource file that was added as link

前端 未结 6 919
走了就别回头了
走了就别回头了 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:39

    Finally I found what was the issue. When use Copy always, files are copied to bin folder. But files are searched in the virtual directory not in the bin. So I added post build task which copies files to correct destination.

提交回复
热议问题