I had this line randomly appear in my csproj git changes…

<ProjectExtensions><VisualStudio><UserProperties XamarinHotReloadGenericExceptionInfoBarBaseMAUIAppHideInfoBar=“True” /></VisualStudio></ProjectExtensions>

I didn’t put it there myself, unless by accidentally clicking something. Maybe it got put there automatically (like when you update nuget and it automatically updates the csproj)?

I don’t use XAML, nor hot reload, nor did I add any extensions, so I’m not sure why it appeared. I Googled for it and couldn’t really find anything about it. I don’t know if it’s safe to just delete it or if it needs to be there now?

  • @[email protected]
    link
    fedilink
    36 months ago

    I’m not exactly sure what that is, but it looks like you might’ve clicked “Don’t show again” on some sort of pop-up. I don’t think it should be bad to remove.

    • Hmmmm, now that’s interesting that you say that, because I keep getting a message about the Android emulator, and even though I have repeatedly clicked on it to “don’t show again”, it keeps damn well reappearing every time anyway! I gave up clicking on it when it never stopped appearing anyway. I wouldn’t have expected that to appear in my csproj though - I would’ve thought that’d appear in a global file somewhere.

      • @[email protected]
        link
        fedilink
        26 months ago

        I guess sometimes extensions think settings like that should be project level. Maybe it’s because they don’t want you to accidentally disable that for all your projects 🤷‍♂️

        • Maybe it’s because they don’t want you to accidentally disable that

          Except that’s maybe exactly what I did. 😂Still not sure what caused it to appear. But yeah I guess I have more visibility of it if it’s in a specific project.