visual studio - Build Action = None vs Copy to Output Directory = Do Not Copy -


these 2 settings seem doing same thing. build action = none , copy output directory = not copy.

what scenarios where:

  • build action none, copy output directory else?

  • copy output directory not copy, build action else?

the output directory bin folder, have file being copied output directory example if have library (.dll file) added somewhere else in project , need copied bin folder.

most files in project has build action different none, copy output directory set not copy shouldn't in bin folder. example class (.cs file) has build action = compile, , view (.aspx file) has build action = content.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -