Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# ASP.NET MVC
I have a project which was developed in MVC1 Recently i am developing a project in 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
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
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:
JemiM at 28-Jan-13 0:28am
this is not the problem of compatability issues. Please go through this link
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
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 OriginalGriff 445
1 Sergey Alexandrovich Kryukov 322
2 Maciej Los 275
3 CHill60 195
4 King Fisher 179
0 OriginalGriff 240
1 Maciej Los 95
2 Sascha Lefévre 85
3 King Fisher 70
4 F-ES Sitecore 55

Advertise | Privacy | Mobile
Web02 | 2.8.150331.1 | Last Updated 28 Jan 2013
Copyright © CodeProject, 1999-2015
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