-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Resx file does not produce designer file, application is crashing #7504
Comments
Sorry I forgot to say that the project that is crashing is: Project is Retronado.Maui I edited the issue |
@roubachof Did you try moving the resx files into a different directory besides under |
Hi @roubachof. 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. |
@drasticactions yes, at the beginning, the resx was in the |
Have you tried making an android app without MAUI (ex. |
Hi @roubachof. 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. |
Maybe it's related to #1855 ? |
@drasticactions the android app launches successfully in this case, with the same resx file. |
created a branch for this issue: https://github.com/roubachof/Sharpnado.TaskLoaderView/tree/failing-resx |
@jonathanpeppers does this ring any bells? |
So does the app crash and/or the The Xamarin sample for We have tests similar to this in xamarin/xamarin-android, that the built-in If the Sharpnado sample uses: <None Include="Localization\SampleResources.resx">
<UseVocaDbResManager>true</UseVocaDbResManager>
<GenerateResource>false</GenerateResource>
<Generator>ResXFileCodeGenerator</Generator>
</None>
<!-- ... -->
<PackageReference Include="VocaDb.ResXFileCodeGenerator" Version="3.1.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> Does this VocaDb package just have an issue with MAUI / .NET 6 projects? |
@jonathanpeppers :) |
I have the same issue! |
Hi @roubachof. 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. |
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. |
This issue has been automatically marked as stale because it has been marked as requiring author feedback 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. |
(This issue was fixed - for me) |
I think this was fixed, if not, please let us know! |
Description
Hello there!
I'm in the process of migration TaskLoaderView to MAUI, it was going alright till I launch the app for the first time.
It crashed right after the Splashscreen.
It was complaining about my resx file (located in
Resources\Localization\SampleResources.resx
), not being embedded in the resources...After that I tried a few things, and now it seems even worst: it crashes before the splash, when loading resources assemblies:
I think it is related to the resx file, cause It fails to generate the design file when building the project on Rider EAP AND on VS Mac Preview.
Steps to Reproduce
Here is the repo sample:
https://github.com/roubachof/Sharpnado.TaskLoaderView/tree/failing-resx
Retronado.Maui
Resources\Localization\SampleResources.resx
Version with bug
6.0 (current)
VS for Mac preview 17.3 build 191
Last version that worked well
Unknown/Other
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
Android 21 and up, probably iOS, since resx doesn't generate anything
Did you find any workaround?
nope
Relevant log output
No response
The text was updated successfully, but these errors were encountered: