开发者

Including custom files in Publishing ASP.NET web application

开发者 https://www.devze.com 2023-03-12 01:34 出处:网络
I have some custom files in the root of the Web application, set to \"Content\" and \"Copy Always\"开发者_如何学运维. when I publish the app, I can see a duplication in those files:

I have some custom files in the root of the Web application, set to "Content" and "Copy Always"开发者_如何学运维. when I publish the app, I can see a duplication in those files:

  • A set is copied to root of the app
  • Same set copied to "bin" folder

Is there a way to just copy those files to root of the app without having them copied to bin folder?

Thanks


You do not want them to be copied, so ensure that they are set to Content and not to copy. Setting them to Content is all you need to ensure that they are published in the folder that they reside in.

0

精彩评论

暂无评论...
验证码 换一张
取 消