I need to write a UI for an API utility that I need to use. I have created a new Universal Windows App for the UI, added the API utility project to the solution and now need to reference the API utility from the UWP project - but I just get 'Unable to add a reference to project 'XXX'.
If I create a Windows Forms Application or a console project and add that to the solution, I can do the referencing, no probs.
What is it about UWP that I don't understand?
In the project that you are trying to reference, make sure the TargetFrameworks
moniker doesn't contain .NET Core
or .NET Framework
.
<TargetFrameworks>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With