Welcome to EMC Consulting Blogs Sign in | Join | Help

Browse by Tags

All Tags » c# » MSBuild
  • MSB3247: Found conflicts between different versions of the same dependent assembly.

    Had been getting this recently in our builds, and have finally tracked it down to conflicting versions of the Microsoft.ReportViewer.Common.dll in our project references. This came about as one of our developers was using VS 2010, but the rest were still back on VS 2008. Anyway, I thought I’d blog around how we traced this issue down in the end, ...
    Posted to Merrick Chaffer's Blog (Weblog) by merrick.chaffer on March 22, 2011
  • Duplicate Finder

    A while ago (June last year) I wrote a utility to detect runs of duplicate lines in files, which is useful for looking for repetitive code that should be refactored. Then I stopped work on it, since it was done.  The original blog post is here and the project is up on CodePlex here. This year I have revisited it with two new features which I ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on February 23, 2008
  • Dynamic C# code execution inside an MSBuild script.

    One thing Powershell has that MSBuild hasn't is a scripting engine that can access the .NET core libraries directly.  For example, in Powershell you could use the following function to get the current day of the week and assign it to a variable:$a = (get-date).dayofweekIn the MSBuild world we are restricted to writing a custom ...
    Posted to Stuart Preston's Blog (Weblog) by Stuart.Preston on June 24, 2007
Powered by Community Server (Personal Edition), by Telligent Systems