TDS and Sitecore.* DLLs
Posted 05/15/2012 by techphoria414
One fail-safe feature of Team Development for Sitecore that has bit me a few times is its prevention of Sitecore.* DLLs from copying to your web root during a build. Though I appreciate TDS lookin out, there are times when you have non-module libraries, or modified Shared Source libraries, that you do want deployed on build. To work around this, you can utilize the BeforeFileReplacements build target. Place the following in your TDS csproj, just before the closing </Project>, and edit DeploySitecoreBinaries as needed for your assemblies.
<!-- restore certain Sitecore.* DLLs that TDS does not copy -->
<!-- BeforeFileReplacements will be called after TDS has deleted Sitecore.* from its Output, but before it deploys -->