473,395 Members | 1,568 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Using DLL reference in other projects same solution

Hello,

I need some help to get out of cumbersome process.

For example, I've one solution with 2 EXE & a DLL project. DLL is referred
by both exe projects hence I've added DLL as reference to both projects.
As all three projects are part of single package I've kept their output
directory same.

Now, everytime i'm building DLL, i'm suppose to delete reference from other
2 exes, to avoid following error comes
The file 'my.dll' cannot be copied to the run directory. The process cannot
access the file because it is being used by another process.Could not copy
temporary files to the output directory.

but its very cumbersome process considering, i actually have 10 exe & 5
dlls with cross references. Any solution?
Thanks & Regards,
Divyesh Shah


Sep 21 '06 #1
1 2450
MMA
1) Right Click on your sln.
2) Select project build order
3) Set the order in which you want your projects to be built. (Which in your
case will be the dll 1st)
4) Try rebuilding Sln.

"Divyesh" wrote:
Hello,

I need some help to get out of cumbersome process.

For example, I've one solution with 2 EXE & a DLL project. DLL is referred
by both exe projects hence I've added DLL as reference to both projects.
As all three projects are part of single package I've kept their output
directory same.

Now, everytime i'm building DLL, i'm suppose to delete reference from other
2 exes, to avoid following error comes
The file 'my.dll' cannot be copied to the run directory. The process cannot
access the file because it is being used by another process.Could not copy
temporary files to the output directory.

but its very cumbersome process considering, i actually have 10 exe & 5
dlls with cross references. Any solution?
Thanks & Regards,
Divyesh Shah


Sep 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Dave | last post by:
I have a VB.Net solution with 2 projects. The first project should reference the second. I'm able to see the second project on the Projects tab and I'm able to click the OK button to...
4
by: John Lafrowda | last post by:
Hi all, I'm trying to handle two projects in one solution (.net 2002, both projects are VB). The first project contains only some public constant definitions (for the moment) and compiles into...
0
by: Eric Barr | last post by:
I saw a small number of old threads about a strange build error, but never saw a solution. I just spent about 4 hours debugging this so i hoped i could help out people who come across this...
5
by: Derek Martin | last post by:
I am creating a windows service and have added a reference to a DLL project that I have created. That DLL file is correctly referenced in both a windows app and a web app, all in the same...
6
by: liu | last post by:
Hi all, in my vb.net solution, i have 3 project: 1. Main-this is the startup or the base of my window application. 2. Sales-this is the project that contains all the sales info 3. Product-this...
21
by: Al Christoph | last post by:
I posted this last week end in the MSDN forums. No luck there. Let's see what the experts here have to say:-)))) I have a rather convoluted project. The distributable will come in eight...
2
by: AMDRIT | last post by:
Hello Everyone, I am having an issue with my solution and hoping that you all can suggest a resolution. I have a common library that (A) that three other projects make reference of (B,C,D). ...
1
by: Ronald S. Cook | last post by:
If I choose not to include a dependent project in my solution, but rather just reference the .dll in that project's bin\debug folder, are there any negative repercussions? Or, is it more...
6
by: =?Utf-8?B?SHVnaA==?= | last post by:
Hi there We are trying to build a C sharp solution in Visual Studio 2005 Professional. We have a number of other assemblies, that do not form part of the solution. Assemblies that do form...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.