maui
maui copied to clipboard
Color options missing
Description
The Color Options like "backgroundColor", "TextColor" and "Color" will disappear from your project when you upload your .NET MAUI app to GitHub when the default .gitignore is inside your application.
I have struggled with this problem for a while and I was almost not able to fix it anymore, but ended up fixing it by downloading another ide.
Steps to Reproduce
- Upload Project to github with default .gitignore
- Download the file and try using any color option in the project you just downloaded.
Link to public reproduction project repository
not required, this works with every project.
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows, macOS, Other (Tizen, Linux, etc. not supported by Microsoft directly)
Affected platform versions
All
Did you find any workaround?
Installing rider from jetbrains and opening your file in that application will recover the missing files.
Relevant log output
No response
Where did you get the default ".gitignore" from @99067718 . Can you possibly attach a video/gif of the issue?
Hi @99067718. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. 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.
@99067718 is it the one generated by the command dotnet new gitignore which btw yields the same which also pops out when you google c#/VS gitignore and click the link on github?
@99067718 is it the one generated by the command dotnet new gitignore which btw yields the same which also pops out when you google c#/VS gitignore and click the link on github?
Where did you get the default ".gitignore" from @99067718 . Can you possibly attach a video/gif of the issue?
the gitignore was automatically inside of it when I created the repo inside of Visual Studio
Hi @99067718. 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.
Hi, @99067718 - What version of VS are you using? Also, does the code compile? If not, could you share the compiler error?
If it compiles, could you also please share a repro of your project with a copy of the gitignore as well? That will help us to investigate further. Thanks :)
Hi @99067718. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. 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.
I figured out that this happens after you delete the "obj" folder, for some reason visual studio is not able to re-generate it correctly. (thats why the .gitignore breaks it, since the gitignore file ignores the "obj" folder)
I just realised I am on my alt account, but it looks like the bot has already noticed that.
It would be really helpful to get a reproduction project together with some screenshots or a screen recording of what you're seeing. Without it, this is going to be really hard to diagnose.
If you add a repro, please also add steps to what you do exactly and what version of Visual Studio you're using. That will help us see what you see and properly route this issue to the right place.
Hi @99067718. 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.
https://github.com/Mielesgames/CookieClickerButBetter I don't have screenshots since I already managed to fix it a while ago, and I don't wanna go trough the pain of fixing it again just to have a screenshot
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Hi @99067718. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.
You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.
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.
Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Not repro with sample project. CookieClickerButBetter