Not logged in. · Lost password · Register
Forum: MatriX RSS
Avatar
dbarbieri #1
Member since May 2017 · 7 posts
Group memberships: Members
Show profile · Link to this post
Subject: Portable Nuget package
Hi,

I'm referencing Matrix.Mono in my .NET portable library and works like a charm. I user this library in Android and iOS projects without problems. However the nuget package does not contains an explicit portable version of the dll, so every time I update the nuget package, or I have to add it to a new project, Matrix.dll isn't added as a reference and I have to manually browse for it and add to the project. Here is someone who has my same problem: https://forums.xamarin.com/discussion/79234/nuget-package-…

It's possible to embed a copy of Matrix.dll also in the "lib\portable-net45+win+wpa81+wp80" folder inside the package?

Thanks,
Domenico
Avatar
Alex #2
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
its not possible to create a portable class library from MatriX.
Many .NET framework classes required by MatriX are missing in the PCL subset.

When referencing Matrix Mono in a PCL library works then you are just lucky :-). It will fail once you try to target other platforms than Xamarin.
Avatar
dbarbieri #3
Member since May 2017 · 7 posts
Group memberships: Members
Show profile · Link to this post
Oh, what about a .Net Standard 2.0 library?
Avatar
Alex #4
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
Quote by dbarbieri:
Oh, what about a .Net Standard 2.0 library?

this is the way to go and the successor of the PCL :-)

There is .NET Core/netStandard package of MatriX, and there is MatriX vNext which is a major rewrite of MatriX towrads netCore and NetStandard only.

See:
Avatar
dbarbieri #5
Member since May 2017 · 7 posts
Group memberships: Members
Show profile · Link to this post
Ok, but MatriX.NetCore is still in beta, is it suitable for produztion?
Avatar
Alex #6
Member since Feb 2003 · 4327 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
you should look at MatriX vNext. This is where all our netCore and netStandards efforts are going into.
This post was edited on 2017-09-06, 21:07 by Alex.
Avatar
dbarbieri #7
Member since May 2017 · 7 posts
Group memberships: Members
Show profile · Link to this post
Ok, thanks
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS