Skip to content
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

dotnet-publish --runtime RID always uses host os corehost #4605

Closed
teodimache opened this issue Dec 18, 2015 · 4 comments
Closed

dotnet-publish --runtime RID always uses host os corehost #4605

teodimache opened this issue Dec 18, 2015 · 4 comments
Labels
Milestone

Comments

@teodimache
Copy link

Hi,

I'm on a Windows 8.1 machine and trying to publish for osx.10. I've installed the latest dotnet tools via dotnet-win-x64.latest.msi.
When running dotnet-publish --framework dnxcore50 --runtime osx.10.10-x64 it runs fine, i get a dnxcore50\osx.10.10-x64\ folder with all the dll's and dylib as expected and a AppName.exe file. And as you probably guessed the exe file is just the windows corehost.exe, same thing if i publish for ubuntu. Basically it always uses the host os corehost.

If i publish from a mac the same bug manifests itself, i get a mac corehost if i target win7-x64.

Is this a known bug, are there any workarounds?
Thanks

@teodimache teodimache changed the title dotnet-publish runtime always uses host os corehost dotnet-publish --runtime RID always uses host os corehost Dec 18, 2015
@shahid-pk
Copy link
Contributor

one work around should be manually copying corehost from the target runtime package as you only need that , everything else is managed. I haven't seen this issue although the team will know better , if they are not already on holidays 😄

@blackdwarf
Copy link

@teodimache yes the cross-publishing story is not there yet.

@TheRealPiotrP
Copy link
Contributor

This is fixed.

@teodimache
Copy link
Author

Good to know, thanks!

@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 2020
@msftgits msftgits added this to the 1.0.0-rtm milestone Jan 31, 2020
rainersigwald pushed a commit that referenced this issue Jul 20, 2020
…0200609.2 (#4605)

Microsoft.Build.Localization , Microsoft.Build
 From Version 16.7.0-preview-20309-01 -> To Version 16.7.0-preview-20309-02

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants