-
Notifications
You must be signed in to change notification settings - Fork 564
Open
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.
Milestone
Description
Android application type
.NET Android (net7.0-android, net8.0-android, etc.)
Affected platform version
VS 2022 17.10 P2
Description
AndroidEnvironment environment variables aren't updated when the environment text file changes.
AndroidEnvTest_Debug_AnyCPU_net8.0-android_Build_2024-04-01T12_13_05.9187908-04_00.binlog.txt
Steps to Reproduce
- Clone https://github.com/BretJohnson/AndroidEnvTest
- Build & run it, on Android. Note that environment variables are output to Debug, e.g. ENV1=YYYY is in the Debug output on VS.
- Update myenv.txt, say changing the first line to be ENV1=NEWVALUE. Stop & restart, which triggers a build.
Result: Note that the Debug output still has ENV1-YYYY, not the new value.
Did you find any workaround?
No, not yet - and a workaround is what I'd most like here, so looking for hints on that.
Relevant log output
See attached binlog (renamed to have a .txt extension so I can attach it, but it's a .binlog).Metadata
Metadata
Assignees
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.