简体   繁体   中英

ASP.NET Core MVC application weird behavior on publish

So here is my ASP.NET Core MVC project, which is working fine locally but not when I am trying to publish my target project TSEventApp.Web to a target folder:

在此处输入图像描述

The project is getting published successfully but it just publishes weird folders with just.dll files instead of folders like views, bin, etc. Can anyone just please guide me through what exactly am I doing wrong? Thank you in advance.

在此处输入图像描述

According to your publish settings, I found you used the Framework-dependent, it you use this format, it will not generate the related runtime dll and it will complie all the view or else inside the one dll.

If you choose self-contained, it will genreate the runtime related dll inside the folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM