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

Resource.designer.cs of Android platform gets generated even after disabling #7896

Closed
PaulAndersonS opened this issue Jun 9, 2022 · 0 comments
Labels
platform/android 🤖 s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working

Comments

@PaulAndersonS
Copy link
Contributor

Description

Based on the details from the page and the settings in the page i have done the same to disable the Resource.Designer.cs file in my custom library project to reduce the assembly size in Android. But the settings seem to be working for Debug mode alone and not working for Release mode.

  <PropertyGroup Condition="'$(_MauiTargetPlatformIsAndroid)' == 'True' AND '$(AndroidApplication)' != 'true'">
    <AndroidGenerateResourceDesigner>false</AndroidGenerateResourceDesigner>
    <AndroidUseIntermediateDesignerFile>false</AndroidUseIntermediateDesignerFile>
  </PropertyGroup>

Is is the expected behavior?

Steps to Reproduce

Create a simple MAUI library project and in the csproj file disable the mentioned settings

Version with bug

6.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android

Did you find any workaround?

No response

Relevant log output

No response

@PaulAndersonS PaulAndersonS added s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working labels Jun 9, 2022
@PaulAndersonS PaulAndersonS closed this as not planned Won't fix, can't repro, duplicate, stale Jun 9, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jul 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/android 🤖 s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants