I think (but not sure, so I created this SO question: What does the Microsoft.Bcl.Build NuGet package do ) that Microsoft.Bcl. The assembly is needed only for development and is not needed on the assembly server. So, I have a Builder.targets file that exists only in the build environment, indirectly <import> ed in all our projects, including this bit of MSBuild xml:
<PropertyGroup> <BclBuildImported>Ignore</BclBuildImported> </PropertyGroup>
Since the MSBuild logic block inserted into your project by the Bcl.Build nuget package depends on the BclBuildImported property BclBuildImported empty, this effectively wraps the problem in my build environment - Microsoft.Bcl.Build steps are skipped and it no longer destroys my CI assemblies.
Please note that since it seems that this package controls binding redirects in your app.config and ensures that transitive dependencies are included in your projects, it is important to leave it to the development. But at the moment I do not know about the need for this in the build server environment.
crimbo Apr 02 '14 at 23:43 on 2014-04-02 23:43
source share