Skip to content

system.valuetuple in .nuget conflicts with system.valuetuple in Microsoft.NET.Build.Extensions. #24296

Description

@Jivko1212

I have a solution that mixes .net standard and .net framework projects. I encountered the following error:

10>  Encountered conflict between 'Reference:C:\Users\Zhivko\.nuget\packages\system.valuetuple\4.4.0\ref\net47\System.ValueTuple.dll' and 'Reference:C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\\net47\ref\System.ValueTuple.dll'.  Choosing 'Reference:C:\Users\Zhivko\.nuget\packages\system.valuetuple\4.4.0\ref\net47\System.ValueTuple.dll' because file version '4.6.25519.3' is greater than '4.6.25514.4'.
10>  Encountered conflict between 'CopyLocal:C:\Users\Zhivko\.nuget\packages\system.valuetuple\4.4.0\lib\net47\System.ValueTuple.dll' and 'CopyLocal:C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\Microsoft.NET.Build.Extensions\\net47\lib\System.ValueTuple.dll'.  Choosing 'CopyLocal:C:\Users\Zhivko\.nuget\packages\system.valuetuple\4.4.0\lib\net47\System.ValueTuple.dll' because file version '4.6.25519.3' is greater than '4.6.25514.4'.
10>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,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.

Can I do anything to resolve the conflict? Thanks

[EDIT] Fixed log formatting by @karelz

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions