unoplatform / uno

Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
https://platform.uno
Apache License 2.0
8.76k stars 706 forks source link

How to add UNO in existing xamarin PCL project #2731

Closed tusharpawar2585 closed 4 years ago

tusharpawar2585 commented 4 years ago

How to add UNO library in existing xamarin PCL project. I have tried as per document and use command to add UNO. I'm able to add but when I run application then it throws exception that /index.htlm page not found. And if I add UWP project reference in .Wasm project then it will gives .netstadard2.0 error while building app.

jeromelaban commented 4 years ago

Thanks for the report. Could you provide with more information, such as the build errors ?

tusharpawar2585 commented 4 years ago

15833044588718383037358045747378

tusharpawar2585 commented 4 years ago

1583304528374619109074885791512

tusharpawar2585 commented 4 years ago

15833045733602035003420554752515

tusharpawar2585 commented 4 years ago

I have created sample PCL project then I have added Uno using two commands as mentioned in UNO documentation. Then I run application and then I get above screen shot error.

tusharpawar2585 commented 4 years ago

If I add UWP in .Wasm project then I get below error

Project UnoSample.UWP is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). Project UnoSample.UWP supports: uap10.0.16299 (UAP,Version=v10.0.16299)

tusharpawar2585 commented 4 years ago

Can you please help how to add UNO in existing xamarin PCL project created in VS2019. Else can you share one uno project sample using PCL.

jeromelaban commented 4 years ago

Does this project work for you: https://github.com/unoplatform/RpnCalculator ?

GitHub
unoplatform/RpnCalculator
The Xamarin.Forms RPN (Reverse Polish Notation) calculator running in WebAssembly - unoplatform/RpnCalculator
no-response[bot] commented 4 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. We don't monitor discussions on closed issues thus please open a new GitHub issue if you need the team to revisit this matter.