Jenthe
Jenthe

Reputation: 797

ASP.NET MVC 5 publishing only controller doesn't update on host

There's probably a very logic answer to this question. If I update a controller and publish it to my webhost, the updated part doesn't seem to work, it looks like it didn't update the controller. However, when I publish my whole project everything works fine.

Not a big issue but publishing your whole site for just a little controller update seems like wasted time. Any explanations?

Upvotes: 3

Views: 3223

Answers (1)

I think this will work

  • first Rebuild project on VS

  • then replace YourProjectName.dll and YourProjectName.dll.config on bin file to your host

  • then replace the controller you want

Upvotes: 3

Related Questions