Skip to content

Commit

Permalink
Add examples for relative path to apphost-embed-install-location.md
Browse files Browse the repository at this point in the history
  • Loading branch information
elinor-fung authored Jul 31, 2024
1 parent 62c393d commit d8563a4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions proposed/apphost-embed-install-location.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ explicitly set to a value that does not include `AppRelative`, then setting
`AppHostRelativeDotNet` is meaningless - the SDK will not write the relative
path into the `apphost` and the `apphost` will not check for a relative path.

The path must not be rooted and will be considered relative to the app location
(the location of the `apphost` itself) at run time. For example, for when running
`C:\dir\app.exe` or `/home/dir/app` with `AppHostRelativeDotNet` set to:
- `my_dotnet`: the app will look at `C:\dir\my_dotnet` or `/home/dir/my_dotnet`
- `./my_dotnet`: the app will look at `C:\dir\my_dotnet` or `/home/dir/my_dotnet`
- `../my_dotnet` the app will look at `C:\my_dotnet` or `/home/my_dotnet`

## Updated behaviour

At a high level, the updated process and priority for `apphost` determining the
Expand Down

0 comments on commit d8563a4

Please sign in to comment.