Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

What to do with results from 'dotnet publish'?

$
0
0

Hello, I have a website host and domain. I ran 'dotnet publish' on my Visual Studio project, and now I have a folder. How do I make my website use this folder? If I simply FTP this folder onto my domain host's server, will it just work? One thing I noticed is that in my published folder, I don't have folders such as my "Assets" (I am using Assets folder instead of wwwroot) folder or my "Views" folder, or my "runtimes" folder. The only folder I have is my "refs" folder. However, I believe I should have my Views and Assets folder included as well?

As a side question, I wonder if there is a better way to set up a publish workflow. I think I would rather be able to have some sort of script publish a certain Release branch from git so that 'dotnet publish' will not just grab my latest code which may be in development.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>