Closed grokky1 closed 5 years ago
I'm afraid it doesn't currently work with .NET Core in VS 2017. π’
Since I'm not actively using .NET Core and it will likely involve some big changes, I'm not sure when I'll be able to get this working. Post .NET Core 2.0 things are likely to be more stable, so I'll have another look then.
Regards, Jamie.
@jcansdale I want to cry too. π
If I knew that TD doesn't work in VS2017, I might not have upgraded - I've become totally dependent on it.
BTW, all the rapid changes in .NET Core have ended. NUnit, xUnit, MSTest, etc., are all working now. So if you can't update TD to Core because of time constraints, that's fine, but on the other hand, don't wait for Core 2.0 because that's unnecessary.
If I knew that TD doesn't work in VS2017, I might not have upgraded - I've become totally dependent on it.
It all became pretty sketchy. I'd update VS2017 with the new .NET Core support and the legacy .NET Core support in VS2015 would break. That wasn't terribly conducive to getting it working with the new version.
It's good to know the rapid changes have ended now. I'll certainly certainly take another look. Alas I do have other commitments as well, so don't hold you breath!
@jcansdale I most certainly WILL hold my breath - like I said TD makes testing pleasant. Without it we're stuck with the suckiness of the VS "Test Explorer" monstrosity. π
Yeah all those changes were crazy. And there are still so many things they haven't completed! I think the test-related stuff is finalised, but then again I'm no expert. The NUnit guys seem to have gotten it right, I think.
@jcansdale netstandard/core 2.0 are released. Hmm... π π
I haven't forgotten and I do really want to add .NET Core 2.0 support. It's just work and family commitments have made it really hard recently.
Have you tried the .NET Core support in NCrunch? I know @remcomulder has been doing a great job battling with .NET Core and Visual Studio. http://blog.ncrunch.net/post/NET-Core-Support-Has-Arrived!.aspx
BTW, my day job is working on the GitHub for Visual Studio extension (if you'd like to give it a try): https://github.com/github/VisualStudio/releases
NCrunch: I don't use it unfortunately. That blog post makes it sound like a lot of effort, but take into account they were updating NCrunch as Core was developing. You went the "sane" approach (this is MS after all!) and waited for version 2.0. The dust has settled by now... I hope! π
VS extension: hey cool! Never knew about it.
Supporting .NET Core in NCrunch prior to v2.0 has not been my favourite life choice. Beware the settling of dust, I've been fooled by this before :(
@remcomulder Yes that's MS for you! v1 always sucks, v2 is what v1 should have been (i.e. not a beta)... π
You went the "sane" approach (this is MS after all!) and waited for version 2.0. The dust has settled by now... I hope! π
Actually, like @remcomulder I started with the less than sane approach and had it working with .NET Core 1.0/1.1 and project.json (for a while). The transition from project.json to .csproj was particularly unpleasant for integrators. I was used to some pretty flaky CTP versions of Visual Studio, but this was nasty. π
@grokky1 You should give NCrunch a try. I use it when developing TestDriven.Net. They surprisingly don't tread on each others toes (due to their different interfaces).
@grokky1 I've finally .NET Core support working with Visual Studio 2017. You can find an experimental build here https://github.com/jcansdale/TestDriven.Net-Issues/issues/106#issuecomment-452926516.
I'll be tracking .NET Core support in #106, so closing this issue.
This is what I have:
My csproj has this:
When I try run tests using TD, it builds, then when the testing starts, it throws this:
Why is it looking for .NET framework? Surely it should use .NET Core, and use the latest version 1.1.2?