Click here to Skip to main content
12,063,909 members (64,448 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET MVC
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 27-Jan-13 19:12pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  
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
JemiM 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
JemiM 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web04 | 2.8.160204.4 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100