Uno Platform - Prepare Your Development Environment, Try 2 - VIsual Studio Again
Uno Platform is, supposedly, the only open-source platform for creating true single-source, multi-platform applications.
Read about my first try at establishing the environment with Visual Studio.
In the meantime, I successfully cleared some files on the C drive. Now there is enough space to perform the installation.
Read the list of prerequisites and follow along.
Visual Studio and Workloads Install
- Visual Studio Community 2019 - 16.10.1
- Universal Windows Platform workload
- Mobile development with .NET (Xamarin) workload
- ASP.NET and web workload
The install will eat away more than 11 GB of disk space.
OK, I can delete the cache after the install.
Let's do it.
After the download ...
Come on, Microsoft. Can't you do anything right?
After three tries, changing directories, changing install type (after download vs during the download) the issue remains - Microsoft cryptic error 0x80096004: Signature can't be verified.
Fourth try. Is it installing now?
I deleted the content of the %temp% folder, whatever was possible to delete and install was successful. Eh again ...
I found the fix on the web. It's an age-old issue. How can you trust the products from a firm that can't fix issues like these? I am thinking of quitting this exercise and trying out another development environment.
Now the real culprit is displayed:
Continue?
In the end, the issue remains. I assume that Visual Studio will work anyway.
VIsual Studio, first run
It's working. At least, the IDE loads.
.NET Core 5.0 SDK Install
We need an SDK to get the necessary libraries from. Instructions suggest two sets:
I will try with just 5.0 first since I assume I don't really need the old one.
Going to the .NET 5.0 download page, it says that I don't need to do anything:
OK, I'll skip it for now and see what happens.
Uno Templates Install
Next, according to the Installing the Uno Platform Solution Templates with Visual Studio section, we will install the templates needed.
VIsual Studio -> Extensions -> Manage Extensions -> Search for Uno
Download and close Visual Studio. The extension installer appears and does its job.
Apparently, it also installs Windows 10 SDK and .NET 5.0 CORE SDK
These things work on a need to install basis, it looks like.
After install and Visual Studio start ...
It looks good.
OK, enough for this tutorial. Next, we will check if everything is really working. We will Create an application from the solution template and try to run it on several different platforms, I hope.
Better and better
Yay! 🤗
Your content has been boosted with Ecency Points, by @ervin-lemark.
Use Ecency daily to boost your growth on platform!
Support Ecency
Vote for Proposal
Delegate HP and earn more
Is visual studio any good? I used it once, but it wasn't my thing, but VSCode is a masterpiece.
Visual Studio compared to VSC is like comparing a space station to a child's rocket :)
VSC is great yet it's just an editor. While Visual Studio is a complete environment for developing everything and anything in the Microsoft universe.
At the office, we are using a combination:
Ps: I assume you don't need Visual Studio.
Hey Ervin,
Thanks for giving Uno a try. I am happy things are progressing in the right direction for you. Sorry for Visual Studio problems; we have collected this resource to help troubleshoot Visual Studio https://platform.uno/docs/articles/get-started-wizard.html . Also, we have a number of tickets open with visual studio team. Once completed the experience on VS will be much better (btw, it will help if you can upvote any issues you hit as well :) )
Lastly, if you have any troubles , drop by our Discord server - www.platform.uno/discord - #uno-platform channel - our engineering team and community are there.
Thanks again for giving Uno a try; looking forward to more blogs from you!
Hey, that's a great and swift response with lots of relevant links. Thank you very much, Saša! I'll certainly upvote the tickets above.
The VS install issues are probably due to my local environment and its state. Yet, it's Windows and VS, both Microsoft, and errors like these shouldn't happen. Also, I simply adore those numbered errors. They tell you so much.
So you registered on Hive to reply to my article. This is great, congrats!
I am delegating you some HP to help you at the start.
Come to think of it - Uno app on Hive blockchain - that would be a splendid proof of concept :)
!invest_vote
@ervin-lemark denkt du hast ein Vote durch @investinthefutur verdient!
@ervin-lemark thinks you have earned a vote of @investinthefutur !
Upvoted all three issues plus the one mentioned in the third issue:
https://developercommunity.visualstudio.com/t/xaml-intellisense-does-not-start-properly-on-proje/587976
Don't get your hopes too high though. My experience with these requests is that they get you nowhere after a lot of waiting and asking ...
Thanks for sharing this amazing post.
You are welcome. Next are the demo apps.
!invest_vote
Nice cmd?
@ervin-lemark denkt du hast ein Vote durch @investinthefutur verdient!
@ervin-lemark thinks you have earned a vote of @investinthefutur !