Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xunittest MSB3277 conflicts between different assembly versions #433

Closed
srivatsn opened this issue Feb 3, 2017 · 6 comments
Closed

Xunittest MSB3277 conflicts between different assembly versions #433

srivatsn opened this issue Feb 3, 2017 · 6 comments
Assignees

Comments

@srivatsn
Copy link

srivatsn commented Feb 3, 2017

From @fubar-coder on February 2, 2017 9:1

Steps to reproduce:

dotnet new -t Xunittest
dotnet restore
dotnet test

Output:

Build started, please wait...
C:\Program Files\dotnet\sdk\1.0.0-rc3-004530\Microsoft.Common.CurrentVersion.targets(1912,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. [C:\temp\test\test.csproj]
Build completed.

Test run for C:\temp\test\bin\Debug\netcoreapp1.0\test.dll(.NETCoreApp,Version=v1.0)
Microsoft (R) Test Execution Command Line Tool Version 15.0.0.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...
Passed   Tests.UnitTest1.Test1

Total tests: 1. Passed: 1. Failed: 0. Skipped: 0.
Test Run Successful.
Test execution time: 1,7098 Seconds

Expected:

No warning

dotnet --info

.NET Command Line Tools (1.0.0-rc3-004530)

Product Information:
 Version:            1.0.0-rc3-004530
 Commit SHA-1 hash:  0de3338607

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\1.0.0-rc3-004530

Copied from original issue: dotnet/sdk#786

@ErikSchierboom
Copy link

I have the same issue on my MacBook:

Eriks-MacBook-Pro:accumulate erikschierboom$ dotnet --info
.NET Command Line Tools (1.0.0-rc3-004530)

Product Information:
 Version:            1.0.0-rc3-004530
 Commit SHA-1 hash:  0de3338607

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.12
 OS Platform: Darwin
 RID:         osx.10.12-x64
 Base Path:   /usr/local/share/dotnet/sdk/1.0.0-rc3-004530

@AbhitejJohn
Copy link
Contributor

Tagging @smadala who I believe was investigating this.

@smadala smadala self-assigned this Feb 7, 2017
@natemcmaster
Copy link
Contributor

See also dotnet/sdk#517 (comment)

@codito
Copy link
Contributor

codito commented Feb 8, 2017

Same issue as #393. Fix is in PR #444.

@codito codito closed this as completed Feb 8, 2017
@smadala
Copy link
Contributor

smadala commented Feb 14, 2017

Moving xunit.runner.visualstudio to >=2.2.0-rc1-build1247 solves issue.

@ErikSchierboom
Copy link

As @smadala said, upgrading to the latest version solves this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants