Installing C# project

Adapt2NL
Adapt2NL used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
SwapnilSoftware Architect
Top Expert 2005

Commented:
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
SwapnilSoftware Architect
Top Expert 2005

Commented:
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
Navneet.Net Full Stack Developer

Commented:
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!
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

Navneet.Net Full Stack Developer

Commented:
Hi!

Else what you can do is Add reference via Projects Tab

Thanks!
Commented:
We finally found that it was working on Windows 7 machines but not on XP machines because XP cannot handle files of more than 255 charachters.

Author

Commented:
this was the reality!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial