-
Notifications
You must be signed in to change notification settings - Fork 533
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
AndroidManifest not found with custom configurations #9540
Comments
UPDATE: Got this working through the command line by specifying both the framework and configuration dotnet/maui#24621. I did initially get an error though through the command line though which was a bit more revealing then the VS GUI.
I Resolved this by specifying the --configuration so my guess is perhaps because we use different configurations i.e.
|
Any issue(s) with the VS Archiving experience would be owned by the VS integration 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. As for the command line error:
@jonathanpeppers @dellis1972 Would this be expected if custom configurations are being used? Or do we possibly have a bug here? |
It's hard to say without a build log, can you share a In general, I would only use |
@jonathanpeppers We do something like the following to get the full set of properties depending on the Constants defined. <PropertyGroup Condition="'$(Configuration)'=='ReleaseFoo'">
<DefineConstants>FOO;RELEASE;</DefineConstants>
</PropertyGroup>
<Choose>
<When Condition="$(DefineConstants.Contains('FOO'))">
<PropertyGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
<AndroidManifest>Platforms\Android\FOO\AndroidManifest.xml</AndroidManifest>
</PropertyGroup>
</When>
<Otherwise> Also, I have the MSBuild_Logs folder, is there a particular .binlog file you would like or the entire folder? To avoid exposing sensitive information should I share this with you directly? |
Description
I've waited nearly an hour on an android project to try publish a release build and its taken so long I gave up on it so posting my concern here. As this is my first attempt on a MAUI release build I cannot comment on previous versions.
Stuck on here:
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
9.0.10 SR1
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
No response
Did you find any workaround?
NO
Relevant log output
The text was updated successfully, but these errors were encountered: