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.

UX: Simple use cases are failing for testing in multi-targetting projects on VS2017 for win10-x64

See original GitHub issue

Steps to reproduce

Please clone Then run: build.bat

Expected behavior

It does NOT kick out: Make sure test project has a nuget reference of package "microsoft.testplatform.testhost". The real problem here would be handy.

This happens for both NUnit and XUnit. You can observe this by commenting out this line.

Actual behavior

It kicks out: Make sure test project has a nuget reference of package "microsoft.testplatform.testhost".

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.4)

Product Information: Version: 1.0.4 Commit SHA-1 hash: af1e6684fd

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.4

More info

We have an issue here:

I am trying to help out here:

But in an attempt to create a repro here: I keep getting this error.

This should be simple on windows(but does not work out of the box). My end game is to get this going on Linux. I can do this and have done it before, I am just thinking of people that discover this for the first time and are left googling the problem for hours on end. Can we make this better?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

ghostcommented, Jun 14, 2017

@dasMulli - thanks. If this fixes it that is great.

I still believe the error message is absolutely farcical. It bum steers you to a NuGet that does not have this as a dependency. The reason I raised this was in hope that the error report could be made slightly more intelligable hence why I prefix the issue title with UX.

ghostcommented, Jun 14, 2017

@dasMulli - Created issue as promised. Thanks again 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to properly unit test a .NET project with multiple target ...
First, test projects can multi-target as well by making use of the <TargetFrameworks> property just like you used for the library.
Read more >
Troubleshoot .NET Framework targeting errors
This topic describes MSBuild errors that might occur because of reference issues and how you can resolve those errors. Reference a project or ......
Read more >
Ace the UI/UX Take-home Test: Full Case Walkthrough
Email: In this video, I share a recent take-home test I completed while interviewing for a senior product designer ...
Read more >
Most UX Designers FAIL This Test In Interviews! - YouTube
Do you want to be a Junior UX Designer for your ENTIRE LIFE? Yes? Then you don't need to worry about being able...
Read more >
UX Without User Research Is Not UX
UX Without User Research Is Not UX. Summary: UX teams are responsible for creating desirable experiences for users. Yet many organizations fail ......
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 Post

No results found

github_iconTop Related Hashnode Post

No results found