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

Is uap10.0.18362 supported as TargetFramework? #205

Open
EmilAlipiev opened this issue Feb 2, 2020 · 1 comment
Open

Is uap10.0.18362 supported as TargetFramework? #205

EmilAlipiev opened this issue Feb 2, 2020 · 1 comment

Comments

@EmilAlipiev
Copy link

If i define the target frameworks as below in the attached project

<Project Sdk="MSBuild.Sdk.Extras/2.0.54">
  <PropertyGroup>    <TargetFrameworks>netstandard2.0;Xamarin.iOS10;Xamarin.TVOS10;MonoAndroid90;MonoAndroid10.0;tizen40;uap10.0.18362</TargetFrameworks>

I am not able to target UWP correctly. It fails on the below lines and falls into if part where there is return null although Uwp implementation is there but it is recognized as NETSTANDARD2_0.

Changing from uap10.0.18362 to uap10.0.16299, Project works as expected. Why is this happening?

To reproduce

  1. open the project and select Uwp test project as target project
  2. Run it on the local Pc
 static IXFInAppBilling CreateXFInAppBilling()
        {
#if NETSTANDARD1_0 || NETSTANDARD2_0
            return null;
#else
#pragma warning disable IDE0022 // Use expression body for methods
            return new XFInAppBillingImplementation();
#pragma warning restore IDE0022 // Use expression body for methods
#endif
        }

InAppBillingPlugin.zip

@tusharpawar2585
Copy link

Hi Team, We have added UNO in our existing project created in Visual studio 2019( using .NetStandard). we have set target and min version for UWP as per BugTracker sample project but we are getting below error while running the .wasm project.

Severity Code Description Project File Line Suppression State

Error NU1201 Project XXXXXX.UWP is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). Project ImageViewerPOC.UWP supports: uap10.0.16299 (UAP,Version=v10.0.16299) XXXXXX.Wasm D:UnoXXXXXXX.WasmXXXXXX.Wasm.csproj 1

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