question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Encountered conflict" build messages reported for satellite assemblies during build of .NET Core project

See original GitHub issue

Repro:

  1. Create a .NET Core project targeting net46
  2. Add a package reference to some nuget package that contains satellite assemblies, e.g. Microsoft.VisualStudio.Composition, 15.3.38
  3. Run
msbuild /v:diag > build.log

The build succeeds but the log contains messages like:

Encountered conflict between 'CopyLocal:C:\Users\tomat\.nuget\packages\microsoft.visualstudio.composition\15.3.38\lib\net45\cs\Microsoft.VisualStudio.Composition.resources.dll' and 'CopyLocal:C:\Users\tomat\.nuget\packages\microsoft.visualstudio.composition\15.3.38\lib\net45\de\Microsoft.VisualStudio.Composition.resources.dll'.  Could not determine winner due to equal file and assembly versions. (TaskId:18)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
mehmetilkercommented, Aug 19, 2017

@nguerrera The problem is continue with Core 2.0 SDK and VS 17.3 Message is not example same except first part : "Encountered conflict between "…

6> Encountered conflict between ‘Platform:System.Security.Cryptography.Csp.dll’ and ‘Runtime:C:\Program Files\dotnet\sdk\NuGetFallbackFolder\system.security.cryptography.csp\4.3.0\runtimes\unix\lib\netstandard1.3\System.Security.Cryptography.Csp.dll’. Choosing ‘Platform:System.Security.Cryptography.Csp.dll’ because AssemblyVersion ‘4.1.0.0’ is greater than ‘4.0.1.0’.

Read more comments on GitHub >

github_iconTop Results From Across the Web

MSB3277: Found conflicts between different versions of ' ...
This error occurs during a build when more than one version of the same dependent assembly is referenced in a build of the...
Read more >
c# - .NET CORE ALINK : warning AL1073: Referenced ...
I was able to solve the issue, it seems in my case that I needed 2 things: Suggestion from gofal3, I referenced .NET...
Read more >
Rider can't compile solution with mixed .net core and . ...
I tried to create an ASP.NET Core Web App project mixed with a Bridge.NET class library, which is a .net framework project, only...
Read more >
Could not load file or assembly...Oh my! How I went ...
This blog post explains how to debug and resolve assembly versioning conflicts with .NET CLI, ILSpy and FusionLog.
Read more >
NASA Open Source Software
CODE is a framework for the control and observation of resources, services, and applications. The technology supports the secure and scalable transmission of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found