---
title: "Comment by Andre Bacaglini on \"White Labeling .NET MAUI Apps\" | Hashnode"
description: "Hi! Did the publish/archive action work well with these modifications? I`m trying to create a Release using Release-ClientA, and the final aab file seems to sta"
url: "https://hashnode.com/posts/white-labeling-net-maui-apps/669822ca3646a1b339524626/comment/68d14e0488ec1d6e352f6056"
---

[Discussion](https://hashnode.com/posts/white-labeling-net-maui-apps/669822ca3646a1b339524626)

Comment [White Labeling .NET MAUI Apps](https://hashnode.com/posts/white-labeling-net-maui-apps/669822ca3646a1b339524626)

[Andre Bacaglini](https://hashnode.com/@andrebacaglini)

[Sep 22, 2025](https://hashnode.com/posts/white-labeling-net-maui-apps/669822ca3646a1b339524626/comment/68d14e0488ec1d6e352f6056)

Hi! Did the publish/archive action work well with these modifications? I\`m trying to create a Release using Release-ClientA, and the final aab file seems to stay in "debug".

[Julian Ewers-Peters](https://hashnode.com/@ewerspej)

[Apr 22](https://hashnode.com/posts/white-labeling-net-maui-apps/669822ca3646a1b339524626/comment/68d14e0488ec1d6e352f6056#reply-69e87b979fe9de8b43c79f16)

Sorry for the late reply. You likely need to add some additional settings to your _.csproj_ or to the respective _.props_ files, to target the correct platform configuration for releases, such as

```
<PropertyGroup>
    <DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
    <Optimize>true</Optimize>
    <DebugType>pdbonly</DebugType>
    <PublishTrimmed>True</PublishTrimmed>
</PropertyGroup>
```

However, I would recommend doing these things in a build pipeline instead of building a release locally. I was planning to write a follow up on this, but didn't find the time yet.
