How can I publish my asp.net core 2 project?


#1

Hello,
How can I publish my asp.net core 2 project?
I’m trying to run it at http://trycode.gearhostpreview.com/
But it’s not working

they told me to use SCD, and I added:
<runtimeidentifiers> win10-x64 </ runtimeidentifiers>
But it’s not working

what am I doing wrong?
What am I missing?

regards


#2

Did you publish all the required DLLs into your bin folder? Then did you reference those DLLs in your web.config settings file? Try this instead: https://www.gearhost.com/documentation/how-to-publish-your-app-from-visual-studio


#3

thank you very much Abraham,
I have solved it.

regards


#4

I tried follow the link in [https://www.youtube.com/watch?v=BEMTGLPxkJo] in publishing as scd then i copy the files to filezila, but it does not work. can share how u did it? Mine is asp.net core MVC


#5

To publish core follow this guide: https://www.gearhost.com/documentation/deploy-net-core-application

If you are still having issues please open a support ticket in your portal.