473,624 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

vs.net locking output dlls

I have a solution with 4 projects in it. When I compile the solution, I get
the following error:

Could not write to output file
'D:\CDI_CORONA\ CDITools\Admin\ AdminClassLibra ry\obj\Debug\Ad minClassLibrary .
dll' -- 'The process cannot access the file because it is being used by
another process. '

AdminClassLibra ry.dll is the output of one of the projects. The "Process
Explorer" tool shows "devenv.exe " as the process holding a lock on the file.

Does anybody know why VS.NET is locking the file? What can I do to
successfully compile the project?

Additional Information: Upon rebuilding the solution, its gives the
following error message:

Cannot delete the project output: is the file read-only?

A failure occurred while attempting to start the compilation.

I can delete the AdminClassLibra ry.dll after closing the solution in VS.NET
and then open and it compiles successfully. But after making a change, it
again gives the same error upon recompiling.

Thanks in advance for your help

Yogesh.
Jul 19 '05 #1
1 3217
have you read this?

http://support.microsoft.com/default...id=kb%3Ben-us%
3B313512
Jul 19 '05 #2

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

Similar topics

1
1409
by: jfedor | last post by:
Our solution contains multiple projects, on some of the larger projects it appears IntelliSense is locking the output DLLs and we get the dreaded "Could Not Copy Temporary Files to the Output Directory" error. We've followed the guidance provided in this KB http://support.microsoft.com/default.aspx?scid=kb;en- us;313512 but so far the only solution appears to be restarting VS.NET 2003
14
1692
by: Sin | last post by:
I've tried everything and I've come to the conclusion that I'm screwed. If anyone can help, I would be eternaly greatful. I have a solution which has 47 projects.. This is includes (very roughly) : 1- plain win32 C++ DLL projects (little over a dozen, refered to as BASE OBJECTS) 2- ATL/COM/C++ DLLs which use the plain win32 DLLs (another dozen, refered to as COM WRAPPERS)
4
8319
by: Mountain Bikn' Guy | last post by:
I am having serious problems with the following IDE bug: Could not write to output file 'x.dll' -- 'The process cannot access the file because it is being used by another process. ' and BUG: "Could Not Copy Temporary Files to the Output Directory" Error Message When You Build a Solution That Contains Multiple Projects I have tried all the solutions in Microsoft Knowledge Base Article - 313512.
15
6174
by: z. f. | last post by:
Hi, i have an ASP.NET project that is using a (Class Library Project) VB.NET DLL. for some reason after running some pages on the web server, and trying to compile the Class Library DLL, it can't compile because the DLL is in use (and the PDB too), and the w3wp.exe process is the process locking the DLL (as viewed with Sysinternals - Process Explorer). this is a huge problem. i need to do IIS reset in order to free the DLL! 1. why is...
2
2252
by: njr | last post by:
Having copied a number of folders from my development PC (XP) to a development server (W2003) and installed them under wwwroot (and created applications in IIS) I have problems when I include the corresponding asp.net projects in a solution. They build fine but when attempting debug (via F5) I get "Load of property 'Output Path' failed. The 'Output Path' must be under the project folder". The really strange thing though is that two...
3
353
by: Yogesh Kant Roy | last post by:
I have a solution with 4 projects in it. When I compile the solution, I get the following error: Could not write to output file 'D:\CDI_CORONA\CDITools\Admin\AdminClassLibrary\obj\Debug\AdminClassLibrary. dll' -- 'The process cannot access the file because it is being used by another process. ' AdminClassLibrary.dll is the output of one of the projects. The "Process Explorer" tool shows "devenv.exe" as the process holding a lock on...
4
9609
by: Paddy | last post by:
We have a recurring problem where a (long-running) service throws an exception while trying to access a file. The problem is that this is very rare (happens once every week and without warning) but does happen time to time. We are trying ways to find which other process is holding on to the file or even if any other thread from our process is holding on to the file at the specific time that the problem occurs. So, I am trying to...
0
2299
by: shakahshakah | last post by:
Just started investigating InnoDB after having used MyISAM tables in the 4.0.12 version, almost immediately ran into a locking issue with INSERTs, DELETEs, and transactions. Given the following table: CREATE TABLE test1 ( f1 varchar(32) default NULL ) and a steady stream of INSERTs from a command-line shell:
3
4622
by: David V | last post by:
I'm having trouble copying DLLs from a folder in my project to the project's output directory. I have copied seven SQL CE DLLs (the SqlCe*.dll set) to a Libs folder in my project. The DLLs VS 2008 file properties are set as follows: Build Action: Content Copy to Output Directory: Always When I compile, the DLLs don't copy to the output directory.
0
8246
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8685
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8341
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8490
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6112
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4184
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1796
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1489
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.