maui icon indicating copy to clipboard operation
maui copied to clipboard

Color options missing

Open 99067718 opened this issue 3 years ago • 8 comments

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

  1. Upload Project to github with default .gitignore
  2. 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

99067718 avatar Oct 11 '22 13:10 99067718

Where did you get the default ".gitignore" from @99067718 . Can you possibly attach a video/gif of the issue?

PureWeen avatar Oct 11 '22 18:10 PureWeen

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.

ghost avatar Oct 11 '22 18:10 ghost

@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?

janseris avatar Oct 11 '22 20:10 janseris

@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

99067718 avatar Oct 12 '22 06:10 99067718

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.

ghost avatar Oct 14 '22 14:10 ghost

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

rachelkang avatar Oct 14 '22 14:10 rachelkang

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.

ghost avatar Oct 14 '22 14:10 ghost

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.

Mielesgames avatar Oct 14 '22 14:10 Mielesgames

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.

jfversluis avatar Nov 04 '22 16:11 jfversluis

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.

ghost avatar Nov 04 '22 16:11 ghost

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

Mielesgames avatar Nov 07 '22 08:11 Mielesgames

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.

ghost avatar Nov 07 '22 15:11 ghost

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.

ghost avatar May 30 '23 07:05 ghost

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 1.0. Not repro with sample project. CookieClickerButBetter

jinxinjuan avatar May 30 '23 07:05 jinxinjuan