Uno Platform - Prepare Your Development Environment, Try 2 - VIsual Studio Again

avatar
(Edited)

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

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



0
0
0.000
11 comments
avatar

Is visual studio any good? I used it once, but it wasn't my thing, but VSCode is a masterpiece.

0
0
0.000
avatar
(Edited)

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:

  • VSC for FE stuff (Angular, NodeJS, ...),
  • VS for BE and DBS stuff (C#, MSSQL, Oracle, Mongo, NoSQL, ...)

Ps: I assume you don't need Visual Studio.

0
0
0.000
avatar

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 :) )

  1. https://developercommunity.visualstudio.com/t/static-and-theme-resources-are-not-available-in-th/1358108
  2. https://developercommunity2.visualstudio.com/t/xaml-intellisense-is-disabled-for-sdk-style-projec/1324894?from=email
  3. https://developercommunity.visualstudio.com/t/the-compile-itemgroup-intellisense-cache-is-not-re/588021

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!

0
0
0.000
avatar
(Edited)

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

0
0
0.000