-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Cannot publish ubuntu-x64 standalone app on windows #5994
Comments
@moozzyk This error was added so Standalone Apps published without coreclr throw an error prior to host activation. This means Try it out with |
Please re-open if this still fails with a good RID. |
How am I supposed to know that I need to use exact RID? My runtime section looks just like this:
so there is no version. |
If I put |
I think this is a documentation issue. The issue here is that Even at build/publish time the best we can do for a Standalone app is make sure that whatever package graph exists for the rid you've selected contains coreclr.dll or it's xplat equivalent. If, for example, you had a package which declared that |
That's OK. As long as it is documented it should be fine. The error message could and should be improved though. |
Steps to reproduce
PS C:\Source\cli-samples\HelloMvc> dotnet publish -r ubuntu-x64
HelloMVC with the following project.json
Expected behavior
Publishing succeeds.
Actual behavior
Environment data
dotnet --info
output:The text was updated successfully, but these errors were encountered: