Tushar saxena
Tushar saxena

Reputation: 327

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:

enter image description here

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.

enter image description here

Upvotes: 2

Views: 477

Answers (1)

Brando Zhang
Brando Zhang

Reputation: 28432

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 .

Upvotes: 2

Related Questions