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

Unable to turn off Fast Deployment for .Net8 Maui Android project #8929

Closed
PureWeen opened this issue May 7, 2024 · 6 comments
Closed

Unable to turn off Fast Deployment for .Net8 Maui Android project #8929

PureWeen opened this issue May 7, 2024 · 6 comments
Labels
needs-triage Issues that need to be assigned.

Comments

@PureWeen
Copy link
Member

PureWeen commented May 7, 2024


Issue moved from dotnet/maui#21572


From @gceaser on Tuesday, April 2, 2024 12:16:39 PM

Description

In the Android area of the Maui project properties, I am unable to turn off the Fast Deployment option for custom configurations.

Steps to Reproduce

  1. Create a new .Net 8 Maui project in Visual Studio 2022.
  2. Right click on the solution in the solution explorer and select Configuration Manager.
  3. Under Active solution configuration drop down, select <New…>
  4. Name the new configuration RELEASE_PROD and select to copy the settings from Release. Ensure the Create new project configuration check box is checked and click the OK button.
  5. Close the configuration manager window.
  6. Right mouse button click on your .net maui project in the solution explorer and select Properties from the popup menu.
  7. In the left hand pane go down to Android and expand it and click on options.
  8. Change the Android Package Format for RELEASE_PROD & net8.0-android to bundle.
  9. Try to disable Fast Deployment for RELEASE_PROD & net8.0-android and the check mark cannot be removed.

Link to public reproduction project repository

No response

Version with bug

8.0.7 SR2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

All versions of .Net Maui Android projects

Did you find any workaround?

No - For custom configurations I have found no work around.

Relevant log output

No response

@PureWeen
Copy link
Member Author

PureWeen commented May 7, 2024


Issue moved from dotnet/maui#21572


From @ninachen03 on Wednesday, April 3, 2024 5:24:05 AM

Verified this issue with Visual Studio 17.10.0 Preview 2 (8.0.14), can repro it.
image

@PureWeen
Copy link
Member Author

PureWeen commented May 7, 2024


Issue moved from dotnet/maui#21572


From @michaelonz on Tuesday, April 9, 2024 7:36:29 AM

same issue here

@PureWeen
Copy link
Member Author

PureWeen commented May 7, 2024


Issue moved from dotnet/maui#21572


From @derekswatmaps on Monday, April 22, 2024 5:05:42 PM

the workaround seems to be to edit the .csproj and add the following under the PropertyGroup for the release build configuration

<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>

@jpobst
Copy link
Contributor

jpobst commented May 8, 2024

@gceaser

This issue likely occurs in the Visual Studio integration, which is owned by a different team who does not use GitHub for issue tracking.

Please use the tools available inside of VS to report this issue. This allows the issue to be routed to the correct team, and provides them the correct logs they need to diagnose it.

Thanks!

@jpobst jpobst closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
@derekswatmaps
Copy link

This issue likely occurs in the Visual Studio integration, which is owned by a different team who does not use GitHub for issue tracking.

Please use the tools available inside of VS to report this issue. This allows the issue to be routed to the correct team, and provides them the correct logs they need to diagnose it.

Thanks!

You work at the same company. You could just send the other team a link.

@jpobst
Copy link
Contributor

jpobst commented May 8, 2024

We used to do that, but because it's a completely separate system that doesn't integrate with the place where they track their bugs and work it just gets ignored.

I agree it's silly, but the reality is all their bugs that get filed in our repository go ignored. So we finally stopped accepting them here and ask for them to be refiled where the other team will see it. 😅

@github-actions github-actions bot locked and limited conversation to collaborators Jun 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-triage Issues that need to be assigned.
Projects
None yet
Development

No branches or pull requests

3 participants