Repository navigation
Updates NUnit to 3.6.1 - #465
Conversation
|
Will take a look as soon as I can (to answer your questions).. Thanks for this |
|
@matthid Hi, any updates on that paket install issue? I am trying to migrate the the solution to .NET Core but I keep running into this problem. I've tried to:
An alternative would be that during the migration to .NET Core, to move back to NuGet v3 where dependencies can be selected based on the TargetFramework or other conditions. https://docs.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#adding-a-packagereference-condition |
|
/cc @forki @cloudRoutine I think its a paket bug in the way we do things in netcore land. Sadly I cannot look into this the next days in particular |
|
Ok its even worse imho. Its a regular paket bug that got introduced quite some time ago :/ |
|
Related bug: fsprojects/Paket#1458 |
|
FYI, the the new NUnit version constraint limits you to 3.6.x. Usually you would limit yourself to 3.x with |
|
Regarding the paket bug: One "workaround" would be to finally drop net40 support... But let me first try to get the paket fix through the door. @agross can you comment there and let me know what you think about the warning? (If it's not ok I'd rather remove the warning for now, release the fix and discuss the warning in a separate PR) |
|
@matthid I'm OK with the warning message. The original report (fsprojects/Paket#1458) stemmed from my (mis-)use of groups in Paket. Being a heavy bundler user I thought I could use groups as categorization mechanism without knowing that Paket uses groups as a dependency resolution scope. In bundler, groups are used to e.g. reduce the number of dependencies that are installed in production, where test libraries are most often not required. So, yes, we should discourage this use-case in Paket. |
|
@conniey Sorry I forgot to notify you but it should work again with latest paket releases (>=5.0.0-beta005). |
…solve TestHelper.dll
… released as a stable build
|
Thanks for getting this fixed! I got it to work when I was using 5.0.0-beta010... To fix the CI builds, I had to update the build.cmd/build.sh to set the PAKET_VERSION environment variable. Is this PR okay now? |
|
Yep looks good, thank you! |
Question
When I first run the project by executing:
.paket\paket.bootstrapper.exe(The version it downloads is Paket 4.8.4).paket\paket.exe installI get:
Is this error expected?
When I ran
paket.exe installafter updating the NUnit references, I thought it would modify the test projects with the new dependencies. However, it didn't, so I had to do it by hand so that it worked. Is this the expected behaviour? :/ Am I missing a step?