Click here to Skip to main content
Rate this: bad
good
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 at 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 at 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 at 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
0 BillWoodruff 330
1 Mathew Soji 309
2 Maciej Los 295
3 DamithSL 225
4 Afzaal Ahmad Zeeshan 217
0 OriginalGriff 6,369
1 Sergey Alexandrovich Kryukov 5,973
2 DamithSL 5,183
3 Manas Bhardwaj 4,673
4 Maciej Los 4,025


Advertise | Privacy | Mobile
Web03 | 2.8.1411019.1 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2014
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