I have found many many answers in stack overflow and tips around the web recommending to use that, and i realize that it suppose to copy referenced dll's to the output folder. I want to understand that target's logic and how to use it properly, and so far I couldn't find anything around the web explaining it. There was one line on it in MSDN
In my project I get the dll's in the root output folder, not in the "Bin" folder, which is three levels down so I don't really see the point of it. I'd rather get a full explenation than a solution to my one time problem.
Thanks in advance
<Target Name="BuildSolutionWithConfig">
<Message Text="Build: $(BuildType) $(SolutionFileName)"></Message>
<MSBuild Projects="$(SolutionFileName)" Targets="_CopyWebApplication; ResolveReferences" Properties="Configuration=$(BuildType);OutputPath=$(BuildOutputPath);"></MSBuild>
<JsAndCssUpdater Path="$(FullPath)" Version="$(JsVersion)" PathToSaveLogAndBackup="$(PathToSaveLogAndBackup)"/>
<MSBuild.ExtensionPack.Compression.Zip ZipFileName="$(BuildOutputPath)\..\$(BuildType).zip" CompressPath="$(BuildOutputPath)" TaskAction="Create"/>
</Target>