dotnet / dotnet/msbuild

UWP targetting fall creators update has conflicts. MSB3277.

Open
#3,081 0 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

With VS2017 in an UWP project targeting FallCreators update, there are MSB3277 warnings.

Found conflicts between different versions of "System.Reflection" that could not be resolved. These reference conflicts are listed in the build log when log verbosity is set to detailed.

setting verbosity of MSBuild output to diagnostic:
Typical output:
There was a conflict between "System.Runtime, Version=4.0.20.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" and "System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a". (TaskId:403)
"System.Runtime, Version=4.0.20.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" was chosen because it was primary and "System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" was not. (TaskId:403)

How should i go about resolving this?

It occurs the same for two more assemblies namely, System.IO , System.Runtime.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.