-
Notifications
You must be signed in to change notification settings - Fork 57
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
Fix NSpec package to work after .NET Core porting #145
Comments
Hi, sorry if this is a silly question, but is the NuGet package you mention available for linux yet? I've popped |
Not a silly question at all, actually! Quick answer: no. Longer answer: we have some issues in generating nuget package (with |
Mentioned core feature, Adds references to NSpec DLLs in project, is now fixed both when client project is .NET Core or .NET Framework (>= 4.5.2, minimum supported). There still some thinking needed on what to do with NSpec console runner for .NET Core client projects. |
After some discussion, here's the decision on NSpec console runner:
Closing this and creating needed issues to track 1. and 3. |
Currently published version of NSpec NuGet package has the following features, when a projects installs it:
solution\packages\nspec....\tools\
directorysolution\packages\nspec....\
directoryAfter .NET Core porting, NSpec now has two different targets: classic .NET 4.x framework and .NET Core. When packaged and then installed, it should produce similar results as current package:
When a .NET 4.x project installs it (identical):
solution\packages\nspec....\tools\
directorysolution\packages\nspec....\
directoryWhen a .NET Core project installs it:
%Home%\.nuget\packages\nspec....\tools\
directory%Home%\.nuget\nspec....\
directoryRe. NSpec console runner:
an alternative seen in other frameworks (xUnit) is to ship that as a distinct package, and install it as a solution-level package (aka tool-only package), which makes it available again locally to solution or projects. That feature was deprecated in nuget v3 but it seems it will be added back again in v3.5.
Re. very core feature nr 3:
currently it's broken when targeting a .NET Core project. DLLs are actually found in package dir, but references are not added into project.
This one bug is currently the show stopper to move on with .NET Core porting.
The text was updated successfully, but these errors were encountered: