Mobile.BuildTools icon indicating copy to clipboard operation
Mobile.BuildTools copied to clipboard

Tokenized Manifest for .NET 7.0 MAUI does not have its tokens replaced

Open Px7-941 opened this issue 1 year ago • 1 comments

Description

The tokenized values in the Info.plist or AndroidManifest.xml are not be replaced.

Reproduction Steps

Steps to reproduce the behavior:

  1. Tokenize any value in the Info.plist or AndroidManifest.xml with a "$tokenname$".
  2. Create a "Manifest_tokenname" entry with its value in appsettings.json.
  3. Configure the buildtools.json as shown here https://mobilebuildtools.com/manifests/
  4. Select Debug and [Android or iOS]-Device on Visual Studio for Mac.
  5. Run the project.
  6. Confirm that the tokenized values in the Info.plist or AndroidManifest.xml were not replaced.

Expected Behavior

The tokens should be replaced with their values. For Info.plist or AndroidManifest.xml.

Actual Behavior

The tokens inside Info.plist or AndroidManifest.xml were ignored.

Environment

  • OS: [macOS Ventura 13.2.1]
  • IDE: [VSMac|CLI]
  • BuildTools Version: [2.0.245 ]
  • IDE Version: [17.5 (build 1802)]
  • Build Target Framework: [net7.0-android;net7.0-ios]

Px7-941 avatar Feb 27 '23 16:02 Px7-941

@Px7-941 Were you able to find a solution to this issue?

I am also experiencing this issue on my .NET 8 MAUI project.

eth-ellis avatar Jan 23 '24 04:01 eth-ellis