0

I want to build a solution and have the generated artifacts (binaries) in a folder rather than having them packaged in a zip file. How can I do that?

Hans
  • 2,674
  • 4
  • 25
  • 48

2 Answers2

1

You can try publishing them to a file system from visual studio

enter image description here

or you if you want to use the console you can try using this

Using MSBuild, how do I build an MVC4 solution from the command line (applying Web.config transformations in the process) and output to a folder?

Sudeep Reddy
  • 611
  • 7
  • 8
0

What I found working was to simply providing OutputPath:

msbuild.exe <solution.sln> /p:OutputPath="<target_directory>"

Just be careful the targe_directory shouldn't end with \ .

Hans
  • 2,674
  • 4
  • 25
  • 48