Found conflicts between different versions of the same dependent assembly that could not be resolved.
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
my project is on top of .NET Core (1.0.4). when I build solution (it consist four projects) using dotnet `build command` I get following warnings:
```
Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
MyProject.Domain -> /Users/sirwan/Documents/Projects/MyProject/src/MyProject.Domain/bin/Debug/netcoreapp1.1/MyProject.Domain.dll
/usr/local/share/dotnet/sdk/1.0.4/Microsoft.Common.CurrentVersion.targets(1964,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. [/Users/sirwan/Documents/Projects/MyProject/src/MyProject.Core/MyProject.Core.csproj]
MyProject.Core -> /Users/sirwan/Documents/Projects/MyProject/src/MyProject.Core/bin/Debug/netcoreapp1.1/MyProject.Core.dll
/usr/local/share/dotnet/sdk/1.0.4/Microsoft.Common.CurrentVersion.targets(1964,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. [/Users/sirwan/Documents/Projects/MyProject/test/MyProject.Test/MyProject.Test.csproj]
MyProject.Test -> /Users/sirwan/Documents/Projects/MyProject/test/MyProject.Test/bin/Debug/netcoreapp1.1/MyProject.Test.dll
/usr/local/share/dotnet/sdk/1.0.4/Microsoft.Common.CurrentVersion.targets(1964,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. [/Users/sirwan/Documents/Projects/MyProject/src/MyProject.Web/MyProject.Web.csproj]
MyProject.Web -> /Users/sirwan/Documents/Projects/MyProject/src/MyProject.Web/bin/Debug/netcoreapp1.1/MyProject.Web.dll
Build succeeded.
/usr/local/share/dotnet/sdk/1.0.4/Microsoft.Common.CurrentVersion.targets(1964,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. [/Users/sirwan/Documents/Projects/MyProject/src/MyProject.Core/MyProject.Core.csproj]
/usr/local/share/dotnet/sdk/1.0.4/Microsoft.Common.CurrentVersion.targets(1964,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. [/Users/sirwan/Documents/Projects/MyProject/test/MyProject.Test/MyProject.Test.csproj]
/usr/local/share/dotnet/sdk/1.0.4/Microsoft.Common.CurrentVersion.targets(1964,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. [/Users/sirwan/Documents/Projects/MyProject/src/MyProject.Web/MyProject.Web.csproj]
3 Warning(s)
0 Error(s)
Time Elapsed 00:00:16.69
```
I am wondering how t get rid of these warning messages. any idea?
PS: Here is the `csproj` files:
**MyProject.Core:**
```
netcoreapp1.1
MyProject.Core
MyProject.Core
false
false
false
All
All
```
**MyProject.Domain:**
```
netcoreapp1.1
portable
MyProject.Domain
MyProject.Domain
1.1.1
false
false
false
Always
```
**MyProject.Web:**
```
netcoreapp1.1
true
MyProject.Web
Exe
MyProject.Web
1.1.1
portable-net45+win8
All
All
```
**MyProject.Test:**
```
netcoreapp1.1
portable
MyProject.Test
MyProject.Test
true
$(PackageTargetFallback);dotnet5.4;portable-net451+win8
1.1.1
false
false
false
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.