Enable specifying install search location options for published apphost#42455
Enable specifying install search location options for published apphost#42455elinor-fung merged 10 commits intodotnet:mainfrom
apphost#42455Conversation
… and AppHostReleativeDotNet properties
2e5cac9 to
fa9cc8d
Compare
|
Can you update the spec to clarify if For a relative location, is the guidance to (for example) explode a runtime tarball at a |
test/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAHelloWorldProject.cs
Outdated
Show resolved
Hide resolved
That is probably the simplest option. I kind of intentionally didn't include an explicit/official recommendation and left the deployment side as a 'it is up to the developer to create the install layout' - until we sort out an SDK experience. |
test/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishAHelloWorldProject.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Andy Gocke <andy@commentout.net>
See https://github.com/dotnet/designs/blob/main/proposed/apphost-embed-install-location.md.
dotnet/runtime#104749 enabled embedding install location options in
apphost. This is the SDK side to use that ability.AppHostDotNetSearchallows selection of which search locations should be usedapphostif set to an invalid valueAppHostRelativeDotNetallows specifying a relative path to the runtimeAppHostDotNetSearch=AppRelativeifAppHostDotNetSearchis not explicitly setapphostonpublish(notbuild)cc @dotnet/appmodel @AaronRobinsonMSFT