Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

SDK Build Issue

$
0
0

We recently updated our open source SDK to the .net standard instead of being a PCL project.

Everything works perfectly....except for the fact that whenever we add new methods to an interface, these new methods don't actually get fully added to the final nuget package.

When we attempt to access these new methods from this interface in an iOS or Android specific Xamarin solution, we can use them perfect, they're defined. But when we try to access it from the shared Forms solution, none of these new methods are defined (only the old methods from before we converted to .netstandard)

Essentially, this problematic interface is declared in an Abstractions solution in our SDK. In an example project that imports our SDK nuget package, I can actually see two separate definitions for this Abstractions solution.

This definition is missing the new methods, as if it's coming from some old cache somewhere:

...
[assembly: TargetFramework (".NETPortable,Version=v5.0", FrameworkDisplayName = ".NET Portable Subset")]

This definition has all of the new methods:

[assembly: TargetFramework (".NETStandard,Version=v1.0", FrameworkDisplayName = "")]

If anyone can help, it would be deeply appreciated. If you want to take a look at our project, all you have to do is google OneSignal-Xamarin-SDK, our project is on Github.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>