Click here to Skip to main content
15,885,957 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a project which was developed in MVC1 asp.net. Recently i am developing a project in asp.net MVC3. And I want to integrate my old project with my new project by dll. Can i do this? Please anybody give me suggestion how can i do it..
Posted

1 solution

Yes.You can do this.Did you have face any problem while integrating your old project to new one?Backward compatability is supported by visual studio
 
Share this answer
 
Comments
Member 3370768 28-Jan-13 0:23am    
yes i faced some problem.
error : Multiple types were found that match the controller named 'Home'. This can happen if the route that services this request ('{controller}/{action}/{id}') does not specify namespaces to search for a controller that matches the request. If this is the case, register this route by calling an overload of the 'MapRoute' method that takes a 'namespaces' parameter.

The request for 'Home' has found the following matching controllers:
NewProject.Controllers.HomeController
OLDProject.Controllers.HomeController
Jameel VM 28-Jan-13 0:28am    
this is not the problem of compatability issues. Please go through this link
http://stackoverflow.com/questions/7842293/multiple-types-were-found-that-match-the-controller-named-home
Jameel VM 28-Jan-13 0:34am    
I think you have refer both the assembly it picked up the home controllers from both the assembly. this is another link
http://stackoverflow.com/questions/8788014/multiple-types-were-found-that-match-the-controller-named-home-in-two-differ
Hope this helps

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900