Skip to content
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

Empty project does not build #18713

Open
AP2020C opened this issue Nov 6, 2024 · 5 comments
Open

Empty project does not build #18713

AP2020C opened this issue Nov 6, 2024 · 5 comments
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@AP2020C
Copy link

AP2020C commented Nov 6, 2024

Current behavior

All of this is SCANDALOUS! I create an empty project, open Presentation\MainPage.xaml and it finds 1000 errors!
And, of course, it doesn't build.
I understand that this is my first Uno project and that I might make programming mistakes, but it is wrong to have to correct the platform's mistakes before even making my own.

Expected behavior

I would like that at project creation I find an empty but buildable project with an interface similar to VB form projects. And, in this regard, I would like VB to be supported as well as C#!
When I install Platform One in VS it should instal all the necessary components.
Otherwise, I will abandon Uno forever by putting it in the same circle of hell as Maui and Xamarin.

How to reproduce it (as minimally and precisely as possible)

Create a project

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@AP2020C AP2020C added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Nov 6, 2024
@MartinZikmund
Copy link
Member

Please avoid harsh tone and keep things friendly.

Have you followed our getting started guide? Most crucially - have you run uno-check?

@MartinZikmund MartinZikmund added triage/needs-information Indicates an issue needs more information in order to work on it. and removed kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Nov 6, 2024
@DevTKSS
Copy link
Contributor

DevTKSS commented Nov 6, 2024

@AP2020C for those who might could help or fix any problem, you maybe should add some information e.g:
which Template/UI do you tryed to use: WPF, WinUI (most of the time the template which is listed on first place), Xamarin/.Net 6?
which UI Markup: Xaml/C#?
which Binding Stategy: Mvvm/Mvux?

Just trying to help. I am also coming freshly from VB.NET and WinForms and its kind of a hard step to get used to the new UI definition and Binding behind which was (like you said) much easyer in Winforms Applications. Not beeing able to use VB language in "modern/new" applications (also tryed Maui before, didnt build on my maschine like you told here with uno and there were all around said, no one had this problem which was really frustrating!) is also annoying to me, but I don't think that will change at all in any soon time, because VB is (my stand of knowledge) not longer activ developed from Microsoft.
But on uno here I did make the experience in the last days since I did start like you, the community and also the uno team here and on discord is really trying to help and to fix bugs where they are seeing the chance in my opinion, there are also contributing developers I got to knew in last days here and on discord, out there which are listing the issues they get confronted to also trying to help where they can.

That's what the definition of each open source software should be and I think if you are only giving them all just a fair chance to help you with the problem you got now or later confronted with, you might be positiv surprised.

If you want a perfect software, that will never ever have a bug, lets tell, even VB.NET and WinForms I did find enough bugs which are way more annoying and that is much longer developed than uno here ;)

@AP2020C
Copy link
Author

AP2020C commented Nov 9, 2024

I tried to follow getting started guide. During uno-check i got
! There were one or more problems detected. Please review the errors and correct them and run uno-check again.
After installing numerous packages. And I have no idea how to check for errors, since others I haven't seen.
Above all, I would like to say that a one-click installation is very welcome!
I had created a "Uno platform app".

@github-actions github-actions bot removed the triage/needs-information Indicates an issue needs more information in order to work on it. label Nov 9, 2024
@DevTKSS
Copy link
Contributor

DevTKSS commented Nov 9, 2024

@AP2020C okay that was a text it also prompted me :) Can you tell, if in the text in the console, it wrote there, you might see any red line, which could tell about the failing element or is it (like mine on installing) saying to each of its tasks, it had no problem?
If it is saying last of mentioned options, please have a look on the Troubleshooting area here: https://platform.uno/docs/articles/external/uno.check/doc/using-uno-check.html?tabs=windows#install-and-run-uno-check

@jeromelaban
Copy link
Member

jeromelaban commented Nov 9, 2024

I tried to follow getting started guide. During uno-check i got ! There were one or more problems detected. Please review the errors and correct them and run uno-check again.

@AP2020C Can you paste the output of Uno.Check here? You can also run uno-check --verbose to have more information.

@jeromelaban jeromelaban added the triage/needs-information Indicates an issue needs more information in order to work on it. label Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

4 participants