Conversation
…of the library that works with netstandard.
|
I'm out of the country for the next 10 days with limited access, so I can't follow along with what you're doing. But FWIW, in VS2017 I have found it much easier to have a single multitargeted project rather than separate projects. |
|
I'm back -- can I help with this? |
|
Can you upgrade the newtonsoft json version? |
|
@darrencauthon This is heating up for me again. Can I help move things along? |
|
Let me take a look tonight. The library itself is safe to go, and I've learned enough about testing with dotnetstandard to get the tests ported over. The deployment story is one I'm going to have to learn -- I've been doing dot net nuget deployments for years, but never for dot net & dot net core. Do you know much about nuget and core? |
|
I was just looking at the branch. I would strongly suggest making the project multi-targeted, targeting both net45 and netstandard1.6. Even though someone writing a Framework project can consume the netstandard lib, it seems to be common to maintain a framework-only assembly when you had one previously. I can take a look at this tonight; it will probably require just a few conditional compiles. Then the testing assembly becomes multitargeted as well (netcoreapp2.0 and net45) and can test both sides of the code. I've done this with xUnit but not yet with NUnit. In terms of deployment, I haven't worked with travis, but once you've got your csproj set up, all you do is I'm a little sorry to see the |
|
I just sent a PR to this branch that multi targets (net45 and standard1.6) the main assembly and the tests. All tests are passing locally. I would suggest adding netstandard2.0 to this as well, even if you don't want to bring back the |
|
@asherber I fell asleep after TKD practice on Friday night. Super-early on Saturday morning, we here in KC were rocked by a very windy storm that shook my house and took out power for a while (http://www.kctv5.com/story/38331875/thousands-without-power-in-kansas-city-following-severe-weather). Sunday was recovery and when I have my kids.... I think I'll be free tonight! |
|
I didn't want to cause a bottleneck, but after you've had a chance to look at the PR #161 I have a couple more commits queued up that add netstandard2.0 and reinstate the |
|
Any chance this will get picked back up? |
I have to see this work for myself, as I have a few other libraries that are going to have to be moved to standard.
I'm following @asherber 's work on #138.