Ramshid
Ramshid

Reputation: 78

asp.net mvc 3 changes made in Controller files are not reflected

I'm new to ASP.NET MVC3, I got simple work to add a page in already existing web site.

Any changes made in Controller files are not reflected. Even I renamed Controller folder to Controller1 etc.. but site is working perfectly!!! Rally Sucks. But renaming Views and other folders throw errors.

Am I doing anything wrong? Any Helps are very much appreciated!

Upvotes: 1

Views: 1227

Answers (2)

Mike
Mike

Reputation: 459

Make sure you have the latest dll and pdb files loaded in the bin directory on the server for your project.

E. G. [on the server ...] D:\MyProjectFolder\bin\myProject.dll E. G. [on the server ...] D:\MyProjectFolder\bin\myProject.pdb

Upvotes: 0

Darin Dimitrov
Darin Dimitrov

Reputation: 1038710

Since ASP.NET MVC uses an ASP.NET web application model if you change the code in your controllers you should recompile your project for changes to take effect.

Upvotes: 2

Related Questions