VS 2010. Post-build. Copy files in to multiple directories/multiple output path -


i have mvc project , want split output.

i want copy dll files of project (all content directory bin) 1 directory, , views (content of directory view) output directory.

settings of project in vs 2010 not allow me simply.

i may specify 1 output path in settings , can't specify directories or file types copy , where.

i think should leave output directory default , need split output way want using post-build command.

maybe did similar , have ideas how best?

the solution is

1) set output path directory want copy *dll files in project properties

2) using post-build event copy content of directory view whatever directory want

in case

1) output path set to

..\mydestinationprojectname\bin\

2) post-build event copy view directory looks this

xcopy "$(projectdir)\views" "$(solutiondir)\mydestinationprojectname\plugins\views\$(projectname)\" /s /i /y


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -