Link to home
Start Free TrialLog in
Avatar of jtran007
jtran007

asked on

c# project

Hi,

I've just inherit a big Visual project which contains more than 100 smalll projects. Could you help me
how to start learn this big project using visua studio?
Thanks,
JT
Avatar of himanshut
himanshut
Flag of Australia image

the best point of start is:
look at the very first login/start-up page, which you can get by debugging the project.

Once you see that page, put a break point on the button that redrects to different page/project

This will let you understand the workflow of the project and its sub projects.

Cheers!
I would look at the type of each project first.  For example, does each project create a windows application,  a class library, a web site, or something else.  Then I would try to figure out which projects represent things that have user interfaces.  For example, is there only one main project that is intended to interact directly with the user and the other 100 are all supporting projects?  Or is each project independant and they are just stuffed into a single solution for no reason? Or something inbetween?  

I think the goal is to try to determine the interactions and relationships between the projects (if any) and to me, that would be the best first step to map out the structure.
Avatar of jtran007
jtran007

ASKER

Hi,

Since the solution consists of number of projects which are interrelated. That means one project has to rely on another one, and so forth. My problem is that 4 of them are web services. And one of client uses
 these services. How can I find these services UR in order to Make a Service Reference ?

Thanks,
JT
If I undersatnd the question then you should try right click on references in the calling project then select "add web reference" and follow the prompts from there.  
Hi,
The problem is that I am building this service whose reference belongs to assembly which is in the
client that uses this service. It seems I have circular reference and I don't know how to break this
circular references since I inherit codes from someone.

Regards,
JT
I'm afraid you lost me on that one.  Can you tell specifically what reference is circular?
Hi,

For example Assembly1 refers to Assembly2 which contains other assemblies besides Assembly1.
To build Assembly1, I have tobuild Assembly2 however since Assembly1 not built yet. How can
build Assembly 2.

Regards,
JT

In that situation you cannot rebuild the entire solution at one time. It just isn't possible.   What you would have to do is use the configuration manager to check some of the projects and uncheck others.  After your first build, you would then use the configuration manager again and then build again, until you have resolved all the references.  

This is doable but the real problem is that the solution is not designed correctly, which I understand is not your doing.

Here is a link that explains further.  

http://stackoverflow.com/questions/308915/why-are-circular-references-in-visual-studio-a-bad-practice

The most projects I've ever worked on in a single solution was 9.  We made sure that there was a clean build path (no circular dependencies) but still only built selected projected during development to make it faster. Then we do a full re-build when the current round of changes are "done" and we want to make sure that everything compiles cleanly before doing full regression testing.   Since the structure of your project is messed up, you can't do the full build in a single step. But you can still rebuild it piecemeal.  

Hi,

One of project using C++, and project uses MsBuil which copy the dll to other folder ; some how it fails to excute
and giving error. Could you suggest to solve this issue?

Thanks,
Jt
ASKER CERTIFIED SOLUTION
Avatar of MajorBigDeal
MajorBigDeal
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

The solution contains a number of projects: some written in VB, some in C++, some C#. The way it works
is some output from one project is used as the input of other project. That's why I fall in to circular reference if I don't know the relationship among these projects. One of senior developer at work helped
me to resolve this issue.

Thanks fo your idea. Can I close this issue?

Regards,
JT
I'm glad you got it working - to close the issue just click on the link (or button) to accept the comment that help you the most. Good luck to you.
Go ahead and close this if you are ready. Let me know if you are having trouble closing it.  Thanks!
Hi,

So I just delete this question or how do I close it properly?

Thanks,
JT
Hi,

In one of question, I forget the rule, and I just delete it. I feel sorry about that.

That's why I was not allowed to submit question. Do you how can I fix this problem,

and allow to sbmit question? I was suspended for more than a weel now.

Regards,
JT
jtran007, are you still there? Do you need more assistance in closing the question?
Hi,

Can I close the question now?

Thanks,
JT
Under each "Expert Comment", you will see two links, one called "Accept Multiple Solutions" and the other called "Accept as Solution".  My advice to you is to find the "Expert Comment" that was most helpful to you and click on the "Accept Multiple Solutions" under that comment.  This will bring up a screen that will give you the opportunity to divide the points between the comments that you feel were the most helpful.  You can award points to as many or as few comments that you want to.  

Then at the bottom, you select the grade.  I think you should give an "A" because I tried very hard to help you through your problem. Of course it is your choice. Then you click on the orange submit button at the bottom of the screen.  

Please let us know if you still have trouble - Thanks!
Hi jtran007, to close this question, just click on the "Accept Multiple Solutions" link under the comment that you found the most helpful.  Let us know if you are still having a problem doing this. Thanks!
Thanks,
JT