Skip to content
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

.NET Standard 2, NuGet Package #26

Closed
migueldeicaza opened this issue Jan 11, 2018 · 5 comments
Closed

.NET Standard 2, NuGet Package #26

migueldeicaza opened this issue Jan 11, 2018 · 5 comments

Comments

@migueldeicaza
Copy link
Collaborator

migueldeicaza commented Jan 11, 2018

Need to make a .NET Standard 2 library out of a this, and a NuGet package.

Desired:

[x] Link the mono-curses files directly, to reduce dependencies
[x] Link Mainloop directly, same reason

Challenges:

  • Moving to .NET Standard means the main application will end up pulling some 99 assemblies, unless we switch it to .NET Core. Either option is slower.

  • There is a bug in P/Invoke against poll that renders the results of poll unusable.

@jamesharling
Copy link

Any ETA on a NuGet package for this? It would be very useful!

@migueldeicaza
Copy link
Collaborator Author

No ETA, more details here: #39

@migueldeicaza
Copy link
Collaborator Author

Alternative to netstandard: use multi targeting and build desktop and netapp library packages

@migueldeicaza
Copy link
Collaborator Author

migueldeicaza commented Feb 16, 2018

While I have checked in the support for netcore packages, I do not seem to be able to consume it.

The package is Terminal.Gui on NuGet: https://www.nuget.org/packages/Terminal.Gui/0.1.0

And when I try to add this to a .NET core app:

  Writing /var/folders/d2/d63dv3nd7z58j7dzyc6th1nh0000gn/T/tmpf0nvZB.tmp
info : Adding PackageReference for package 'Terminal.Gui' into project '/private/tmp/con/con.csproj'.
log  : Restoring packages for /private/tmp/con/con.csproj...
info :   GET https://www.nuget.org/api/v2/FindPackagesById()?id='Terminal.Gui'
info :   OK https://www.nuget.org/api/v2/FindPackagesById()?id='Terminal.Gui' 404ms
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/terminal.gui/index.json
info :   GET https://dotnetmyget.blob.core.windows.net/artifacts/nuget-build/nuget/v3/flatcontainer/terminal.gui/index.json
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/dotnet-core/nuget/v3/flatcontainer/terminal.gui/index.json 495ms
info :   NotFound https://dotnetmyget.blob.core.windows.net/artifacts/nuget-build/nuget/v3/flatcontainer/terminal.gui/index.json 480ms
info :   GET https://www.myget.org/F/aspnet101/api/v3/flatcontainer/terminal.gui/index.json
info :   NotFound https://www.myget.org/F/aspnet101/api/v3/flatcontainer/terminal.gui/index.json 246ms
error: Unable to find package Terminal.Gui. No packages exist with this id in source(s): aspnet101, dotnet-core, Downloads, nuget-build, Official NuGet Gallery
error: Package 'Terminal.Gui' is incompatible with 'all' frameworks in project '/private/tmp/con/con.csproj'.

@migueldeicaza
Copy link
Collaborator Author

Solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants