Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

MSB3277: Found conflicts between different versions of the same dependent assembly

$
0
0

I'm using VS2013 and there is only one project in my solution.  I'm using MVC and Razor and the project is an Umbraco instance version 7.4.2.

After installing Google.Apis.Calendar.v3 with Nuget in my project, I get this build error:

1>------ Rebuild All started: Project: UmbracoWebsites, Configuration: Debug Any CPU ------ 1>C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. 1>  UmbracoWebsites -> C:\Users\roger_000\Documents\Visual Studio 2013\Projects\UmbracoWebsites\UmbracoWebsites\bin\UmbracoWebsites.dll ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

Having searched for help, I found the http://mikehadlow.blogspot.co.uk/2011/02/asmspy-little-tool-to-help-fix-assembly.html tool which outputs lists of assemblies and their references.  Its output is:

1.11.1.0 by Google.Apis
    1.11.1.0 by Google.Apis.PlatformServices
Reference: Google.Apis.Auth
    1.11.1.0 by Google.Apis.Auth.PlatformServices
Reference: BouncyCastle.Crypto
    1.7.4137.9688 by Google.Apis.Auth.PlatformServices
Reference: Google.Apis.PlatformServices
    1.11.1.0 by Google.Apis.Auth.PlatformServices
Reference: Google.Apis
    1.11.1.0 by Google.Apis.Calendar.v3
Reference: Zlib.Portable
    1.11.0.0 by Google.Apis
Reference: log4net
    1.2.13.0 by Google.Apis.PlatformServices
    1.2.11.0 by Umbraco.Core
    1.2.11.0 by Umbraco.Web.UI
Reference: Microsoft.CSharp
    4.0.0.0 by ImageProcessor
    4.0.0.0 by MiniProfiler
    4.0.0.0 by System.Web.Helpers
    4.0.0.0 by System.Web.WebPages
    4.0.0.0 by Umbraco.Core
    4.0.0.0 by umbraco
    4.0.0.0 by umbraco.MacroEngines
    4.0.0.0 by UmbracoWebsites
Reference: ImageProcessor
    2.3.3.0 by ImageProcessor.Web
Reference: System.Runtime.Caching
    4.0.0.0 by ImageProcessor.Web
    4.0.0.0 by System.Web.Helpers
    4.0.0.0 by System.Web.Mvc
    4.0.0.0 by Umbraco.Core
Reference: Microsoft.Owin
    2.1.0.0 by Microsoft.AspNet.Identity.Owin
    3.0.1.0 by Microsoft.Owin.Host.SystemWeb
    3.0.1.0 by Microsoft.Owin.Security.Cookies
    3.0.1.0 by Microsoft.Owin.Security
    3.0.1.0 by Microsoft.Owin.Security.OAuth
    3.0.1.0 by Umbraco.Core
    2.1.0.0 by Umbraco.Core
    3.0.1.0 by umbraco
    2.1.0.0 by umbraco
Reference: Microsoft.AspNet.Identity.Core
    2.0.0.0 by Microsoft.AspNet.Identity.Owin
    2.0.0.0 by Umbraco.Core
    2.0.0.0 by umbraco
Reference: Microsoft.Owin.Security.OAuth
    2.1.0.0 by Microsoft.AspNet.Identity.Owin
Reference: Microsoft.Owin.Security
    2.1.0.0 by Microsoft.AspNet.Identity.Owin
    3.0.1.0 by Microsoft.Owin.Security.Cookies
    3.0.1.0 by Microsoft.Owin.Security.OAuth
    3.0.1.0 by Umbraco.Core
    2.1.0.0 by Umbraco.Core
    3.0.1.0 by umbraco
Reference: Owin
    1.0.0.0 by Microsoft.AspNet.Identity.Owin
    1.0.0.0 by Microsoft.Owin
    1.0.0.0 by Microsoft.Owin.Host.SystemWeb
    1.0.0.0 by Microsoft.Owin.Security.Cookies
    1.0.0.0 by Microsoft.Owin.Security
    1.0.0.0 by Microsoft.Owin.Security.OAuth
    1.0.0.0 by umbraco
Reference: Microsoft.Owin.Security.Cookies
    2.1.0.0 by Microsoft.AspNet.Identity.Owin
    3.0.1.0 by Umbraco.Core
    3.0.1.0 by umbraco
    2.1.0.0 by umbraco
Reference: System.Runtime
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Collections.Immutable
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Diagnostics.Debug
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Collections.Immutable
    4.0.0.0 by System.Reflection.Metadata
Reference: Microsoft.CodeAnalysis
    1.0.0.0 by Microsoft.CodeAnalysis.CSharp
    1.0.0.0 by Umbraco.ModelsBuilder
Reference: System.Collections.Immutable
    1.1.36.0 by Microsoft.CodeAnalysis.CSharp
    1.1.36.0 by Microsoft.CodeAnalysis
    1.1.36.0 by System.Reflection.Metadata
    1.1.36.0 by Umbraco.ModelsBuilder
Reference: System.Collections
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Collections.Immutable
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Threading.Tasks
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
Reference: System.Linq.Expressions
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
Reference: System.Globalization
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Collections.Immutable
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Collections.Concurrent
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
Reference: System.Linq
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Collections.Immutable
Reference: System.Text.Encoding
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Reflection.Metadata
Reference: System.IO
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Threading.Tasks.Parallel
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
Reference: System.Reflection.Metadata
    1.0.21.0 by Microsoft.CodeAnalysis.CSharp
    1.0.21.0 by Microsoft.CodeAnalysis
Reference: System.Threading
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Collections.Immutable
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Xml.ReaderWriter
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
Reference: System.Xml.XDocument
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
Reference: System.Diagnostics.Tools
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Collections.Immutable
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Resources.ResourceManager
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Collections.Immutable
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Reflection.Primitives
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Dynamic.Runtime
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
Reference: System.Runtime.Extensions
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Collections.Immutable
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Reflection
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Collections.Immutable
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Runtime.InteropServices
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Text.Encoding.Extensions
    4.0.0.0 by Microsoft.CodeAnalysis.CSharp
    4.0.0.0 by Microsoft.CodeAnalysis
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Runtime.Serialization
    4.0.0.0 by Microsoft.Owin.Security.Cookies
    4.0.0.0 by MiniProfiler
    4.0.0.0 by Newtonsoft.Json
    4.0.0.0 by System.Net.Http.Formatting
    4.0.0.0 by System.Web.Http
    4.0.0.0 by Umbraco.Core
    4.0.0.0 by umbraco
    4.0.0.0 by Umbraco.ModelsBuilder
Reference: System.Security
    4.0.0.0 by Microsoft.Owin.Security
Reference: System.IdentityModel
    4.0.0.0 by Microsoft.Owin.Security
Reference: System.Transactions
    4.0.0.0 by MiniProfiler
    4.0.0.0 by MySql.Data
    2.0.0.0 by System.Data.SqlServerCe
    4.0.0.0 by System.Data.SqlServerCe.Entity
Reference: System.Web.WebPages
    1.0.0.0 by MiniProfiler
    3.0.0.0 by System.Web.Helpers
    3.0.0.0 by System.Web.Mvc
    3.0.0.0 by System.Web.WebPages.Razor
    3.0.0.0 by umbraco
    3.0.0.0 by umbraco.MacroEngines
Reference: System.Data.Linq
    4.0.0.0 by MiniProfiler
    4.0.0.0 by System.Web.Mvc
    4.0.0.0 by System.Web.WebPages
Reference: System.Configuration.Install
    4.0.0.0 by MySql.Data
Reference: System.Management
    4.0.0.0 by MySql.Data
Reference: System.Numerics
    4.0.0.0 by Newtonsoft.Json
Reference: System.Data.SqlServerCe
    4.0.0.1 by SQLCE4Umbraco
    4.0.0.1 by System.Data.SqlServerCe.Entity
    4.0.0.1 by Umbraco.Core
Reference: System.Data.Entity
    4.0.0.0 by System.Data.SqlServerCe.Entity
    4.0.0.0 by System.Web.Mvc
    4.0.0.0 by Umbraco.Core
Reference: System.Reflection.Extensions
    4.0.0.0 by System.Reflection.Metadata
Reference: System.Web.DataVisualization
    4.0.0.0 by System.Web.Helpers
Reference: System.Net.Http.Formatting
    5.2.3.0 by System.Web.Http
    5.2.3.0 by System.Web.Http.WebHost
    5.2.3.0 by umbraco
    5.2.3.0 by Umbraco.ModelsBuilder
Reference: System.ComponentModel.DataAnnotations
    4.0.0.0 by System.Web.Http
    4.0.0.0 by System.Web.Mvc
    4.0.0.0 by System.Web.WebPages
    4.0.0.0 by Umbraco.Core
    4.0.0.0 by umbraco
    4.0.0.0 by Umbraco.ModelsBuilder
    4.0.0.0 by UmbracoWebsites
Reference: System.Web.Http
    5.2.3.0 by System.Web.Http.WebHost
    5.2.3.0 by umbraco
    5.2.3.0 by Umbraco.ModelsBuilder
Reference: System.Web.Razor
    3.0.0.0 by System.Web.Mvc
    3.0.0.0 by System.Web.WebPages
    3.0.0.0 by System.Web.WebPages.Razor
    3.0.0.0 by umbraco.MacroEngines
Reference: System.Web.WebPages.Razor
    3.0.0.0 by System.Web.Mvc
    3.0.0.0 by umbraco.MacroEngines
    3.0.0.0 by Umbraco.ModelsBuilder
Reference: Microsoft.Web.Infrastructure
    1.0.0.0 by System.Web.Mvc
    1.0.0.0 by System.Web.WebPages.Deployment
    1.0.0.0 by System.Web.WebPages
Reference: System.Web.WebPages.Deployment
    3.0.0.0 by System.Web.WebPages
Reference: Microsoft.AspNet.Identity.Owin
    2.0.0.0 by Umbraco.Core
    2.0.0.0 by umbraco
Reference: Semver
    1.1.2.0 by Umbraco.Core
    1.1.2.0 by umbraco
Reference: MySql.Data
    6.9.8.0 by Umbraco.Core
    6.9.8.0 by umbraco.DataLayer
Reference: MiniProfiler
    2.1.0.0 by Umbraco.Core
Reference: HtmlAgilityPack
    1.4.9.0 by Umbraco.Core
    1.4.9.0 by umbraco
Reference: Microsoft.ApplicationBlocks.Data
    1.0.1559.20655 by umbraco.DataLayer
Reference: CookComputing.XmlRpcV2
    2.5.0.0 by umbraco
Reference: controls
    1.0.5921.28480 by umbraco
    1.0.5921.28480 by umbraco.editorControls
    1.0.5921.28480 by Umbraco.Web.UI
Reference: System.Design
    4.0.0.0 by umbraco
Reference: Examine
    0.1.68.0 by umbraco
    0.1.68.0 by umbraco.MacroEngines
    0.1.68.0 by UmbracoExamine
Reference: System.Web.Http.WebHost
    5.2.3.0 by umbraco
Reference: Microsoft.Owin.Host.SystemWeb
    3.0.1.0 by umbraco
Reference: System.ServiceModel
    4.0.0.0 by umbraco
Reference: umbraco.providers
    1.0.5921.28480 by umbraco
Reference: dotless.Core
    1.4.1.0 by umbraco
Reference: MarkdownSharp
    1.0.0.0 by umbraco
Reference: UmbracoExamine
    0.7.0.28479 by umbraco
Reference: umbraco
    1.0.5921.28480 by umbraco.editorControls
    1.0.5921.28480 by umbraco.MacroEngines
    1.0.5877.24766 by Umbraco.ModelsBuilder
    1.0.5921.28480 by Umbraco.Web.UI
    1.0.5921.28480 by UmbracoWebsites
Reference: Microsoft.CodeAnalysis.CSharp
    1.0.0.0 by Umbraco.ModelsBuilder
Reference: umbraco.MacroEngines
    1.0.5921.28482 by UmbracoWebsites

Now I'm out of my depth!  Does the above highlight the assembly conflict?  If so, what is it and how do I resolve it?

Your help would be much appreciated.

Thanking you in anticipation.

Roger


rogerwithnell


Viewing all articles
Browse latest Browse all 2763

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>