Click here to Skip to main content
16,019,983 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hye all;

How can i integrate or combine 2 different project in C#?:confused:
Posted

You should be knowing when exactly exception happens. Now, debug and check where exactly the problem is.

Plus, you should not mix the projects if they were split for some reason. Now, since many people have written it, once you identify the cause, approach them and figure out the problem.
 
Share this answer
 
Are those two projects related? Combiniing them blindly blindly result in ambiguous names of variables methods etc. This will result in a lot of pain to rename things.

If the two projects do not have any relation, you can either:

1. Add the reference of one project to other, or
2. Copy all the files from one project to other (using add existing item option). But make sure it does not messes up with the functionality of your project.

If you meant just to add an existing project to an existing solution, right click on the existing solution in solution explorer and choose add existing project option and add it.
 
Share this answer
 
If they're DLL's, you could also compile the projects then just add references to those DLL's from whatever other project you want.
 
Share this answer
 
Memory exception should not occur just because you merged some projects. There has to be something suspicious happening. Check if there is something never ending going on.
 
Share this answer
 
Depends on what you mean. You could add them both to the same solution. Or you could gather all the files from both projects and add them to a new project. You might have to do some manual integration, such as by combining the settings from both projects. If you are using the express edition, there may (or may not) be some restrictions on projects you can combine.
 
Share this answer
 
is it possible to combine 2 project with diff solution? how can i do the manual integration?
 
Share this answer
 
v2
danish : error occur ..... system.outofmemoryexception thrown..... its seems like i cant added any crystal report anymore in the project..
 
Share this answer
 
Ive juz added crystal report in it.. dun do anythin code in the project but the error appear only when i added the crystal report.. plus even ive deleted it the error still there.. dunno where to find it.. the project is too big with multiple brain created it... huhuhu any suggestion to find the error where it occur? or i have to go through all 45 pages??
 
Share this answer
 
thnx danish.. ill try to debug all.... (^_^)
 
Share this answer
 

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