In VS 2010 for ASP.NET MVC 3 project there is an option to add a \"Deployable Dependencies\" folder (_bin_deployableAssemblies) (click right button on web project), files contai
Following seems to do the trick:
Microsoft.WebApplication.targets
(on my computer found in C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications
)_CopyBinDeployableAssemblies
.
<CreateItem
Include="$(MSBuildProjectDirectory)\_bin_deployableAssemblies\**\*.*"
Condition="Exists('$(MSBuildProjectDirectory)\_bin_deployableAssemblies')">
and add Exclude
attribute as follows:
<CreateItem
Include="$(MSBuildProjectDirectory)\_bin_deployableAssemblies\**\*.*"
Condition="Exists('$(MSBuildProjectDirectory)\_bin_deployableAssemblies')"
Exclude="$(MSBuildProjectDirectory)\_bin_deployableAssemblies\**\.svn\**\*">