Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Adding apphost.exe - #1728

Merged
ramarag merged 1 commit into
dotnet:masterfrom
ramarag:hostchange
Mar 15, 2017
Merged

ramarag merged 1 commit into
dotnet:masterfrom
ramarag:hostchange

Conversation

@ramarag

@ramarag ramarag commented Mar 14, 2017

Copy link
Copy Markdown
Member

@gkhanna79 @eerhardt @ericstj PTAL

Once i bring the necessary changes from cli, i will remove dotnet.exe from the package

Condition="Exists('$(DotNetHostBinDir)/dotnet$(SymbolFileExtension)')">
<IsSymbolFile>true</IsSymbolFile>
</ArchitectureSpecificNativeFile>
<ArchitectureSpecificNativeFile Include="$(DotNetHostBinDir)/apphost$(ApplicationFileExtension)" />

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@ramarag

ramarag commented Mar 15, 2017

Copy link
Copy Markdown
Member Author

I have removed the host pieces including hostpolicy.dll from M.N.App package and instead am referring to DotNetHostPolicy package.

@eerhardt @ericstj @gkhanna79 can you take a look

</ItemGroup>

<ItemGroup Condition="'$(PackageTargetRuntime)' != ''">
<ArchitectureSpecificNativeFile Include="$(DotNetHostBinDir)/dotnet$(ApplicationFileExtension)" />

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Comment thread src/corehost/cli/deps_resolver.cpp Outdated
// For standalone apps, apphost.exe will be renamed. Do not use the full package name
// because of rid-fallback could happen (ex: CentOS falling back to RHEL)
if (ends_with(entry.library_name, _X(".Microsoft.NETCore.App"), false) && (entry.asset_name == _X("dotnet") || entry.asset_name == _X("apphost")))
if (((entry.asset_name == _X("dotnet")) && (ends_with(entry.library_name, _X(".Microsoft.NETCore.App"), false) || ends_with(entry.library_name, _X(".Microsoft.NETCore.DotNetHost"), false))) ||

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

</Dependency>

<!-- references the host packages -->
<Dependency Include="Microsoft.NETCore.DotNetHostPolicy">

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@ramarag
ramarag force-pushed the hostchange branch 5 times, most recently from 6a682d9 to 8677b15 Compare March 15, 2017 21:58
@ramarag
ramarag merged commit 9b7e4ac into dotnet:master Mar 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants