-
Notifications
You must be signed in to change notification settings - Fork 44
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
uap targeted project can't reference netstandard2.0 project #200
Comments
It should work...just tried it with 16.5 and it works for me?
Do you have the UWP 18362 SDK installed? |
I've tried with several UWP versions. I'm not too surprised that it worked for you, because it oddly seems random. If you rebuild a few times and scatter in some forced nuget restores, I suspect you'll see it some of the time. |
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 |
@AArnott or @clairernovotny do you have any updates on this? We started seeing this with 16.5.x as well, but weren't seeing it with 16.4.x. Also, it seems to be related to UWP Release builds only, and also in some cases the solution build completes successfully despite logging that the project build has failed. |
Still a problem for me, and it consistently shows up in both UWP Release and Debug. |
@clairernovotny any updates on this? It's still failing for us with the latest VS16.7.3 release. I have a potential work-around that involves multi-targeting the .net standard projects to include uap builds, but that introduces a bunch of other issues that we'll need to then deal with. This seems to be the same issue as was previously addressed with #166, and I confirmed that code from that fix is still in place, so this seems like a new different instance of the same previous issue. |
@clairernovotny can you please respond? Even if there's no update, I'd like to know if you're still looking at these issue reports. |
When I have one project that targets uap that references another project that targets netstandard2.0, the build fails with this:
This doesn't make sense because UAP apps should be able to reference netstandard2.0 projects, shouldn't they?
ClassLibrary2.zip
The text was updated successfully, but these errors were encountered: