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

Bug Visual Studio 2022 Project Maui Android #27121

Closed
vsfeedback opened this issue Jan 14, 2025 · 3 comments · Fixed by #27452
Closed

Bug Visual Studio 2022 Project Maui Android #27121

vsfeedback opened this issue Jan 14, 2025 · 3 comments · Fixed by #27452
Assignees
Labels
area-xaml XAML, CSS, Triggers, Behaviors s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working
Milestone

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


Hello, I had a problem with Visual Studio with the Maui project for Android.
In short, everything always worked fine in Debug Mode.
When I published an APK, a fatal error appeared that closed the application.
Later, since the problem was a page when I entered it, I created another one and it started working. I changed the functions until I found the bug.
See:
<Label x:Name=" Rota_Atual" Text =" Rota: 1234" TextColor="Black"/> "space"
<Label x:Name="Rota_Atual" Text =" Rota: 1234" TextColor="Black"/>
note that the correct one is: <Label x:Name="Rota_Atual"...
in the code I'm going to put Rota_Atual.Text = "blablabla...".
besides not showing an error, it worked as Debug.
this character " " previously only appeared in Release and APK time.

I hope this helped, it took me four days to solve it.


Original Comments

Feedback Bot on 1/13/2025, 07:06 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Carlos Candido on 1/14/2025, 02:25 AM:

(private comment, text removed)

@StephaneDelcroix StephaneDelcroix added the area-xaml XAML, CSS, Triggers, Behaviors label Jan 16, 2025
@StephaneDelcroix StephaneDelcroix self-assigned this Jan 16, 2025
@StephaneDelcroix StephaneDelcroix added the t/bug Something isn't working label Jan 16, 2025
@StephaneDelcroix StephaneDelcroix added this to the .NET 9 SR4 milestone Jan 16, 2025
@RoiChen001
Copy link

Could you provide us with a sample project so we can investigate it further? Looking forward to your reply!

@PureWeen PureWeen added the s/needs-repro Attach a solution or code which reproduces the issue label Jan 28, 2025
Copy link
Contributor

Hi @vsfeedback. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@dotnet-policy-service dotnet-policy-service bot added the s/no-recent-activity Issue has had no recent activity label Feb 3, 2025
StephaneDelcroix added a commit that referenced this issue Feb 3, 2025
github-actions bot pushed a commit that referenced this issue Feb 3, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in MAUI SDK Ongoing Feb 4, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Mar 6, 2025
@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label Mar 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-xaml XAML, CSS, Triggers, Behaviors s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants