Link to home
Start Free TrialLog in
Avatar of Adapt2NL
Adapt2NL

asked on

Installing C# project

We have a VS2010 solution with 6 projects. When it builds, the Debug folder only includes files for the start up project. The build therefore fails because it cannot find the other dlls from the other projects.

The build works on other computers on 2 other different sites.

Please assist.
Avatar of Swapnil
Swapnil
Flag of India image

Hi Adapt2NL,

        It would be better to create setup project which build a single installer to install application and its dependency (other project's dll).

        Following link will provide you more insight over it.
        http://msdn.microsoft.com/en-us/library/7eh4aaa5.aspx

Thanks,
netswap
Hi Adapt2NL,

          Another option is "Copy to local" (which copies reference assembly or dll to bin / debug folder).

          For more info: http://msdn.microsoft.com/en-us/library/t1zz5y8c%28v=vs.80%29.aspx

Thanks,
netswap
Hi!

Make sure you have added the Reference in Main Project from Other Projects

Go to Solution and Check Project depedencies
Let's Say you have 3 projects A, B, C
where A is your Main project

Then Atleast One project should be referenced in A
and othere may be referenced by the Dependent Project on A

Thanks!
Hi!

Else what you can do is Add reference via Projects Tab

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Adapt2NL
Adapt2NL

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
Avatar of Adapt2NL
Adapt2NL

ASKER

this was the reality!