Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to self-contained publish .Net Core 2.0 console application for MacOs version 10.13.2 but I am getting following error,
Project is targeting runtime 'osx.10.13-x64' but did not resolve any runtime-specific packages for the 'Microsoft.NETCore.App' package.


I am working on Window server 2016 machine and using VS Community 2017.

When I set 'win10-x64' RuntimeIdentifiers then it published successfully. But if I set RuntimeIdentifiers to 'osx.10.13-x64', it gives the error.

What I have tried:

I googled for this problem but didn't get the solution.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900