Search:
Namespaces
Discussions
.NET v1.1
Feedback
VS Keeping a DLL Reference and Preventing a Rebuild
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngvs' list
.
Steve Mark
-- Moved from [aspngfreeforall] to [aspngvs] by Terri Morton <
Click here to reveal e-mail address
> --
Here's a good one:
One of the DLL's (of 17 in the current solution) stays "open" after the
build, so that when we go to rebuild it we get this message:
Performing main compilation...
error CS0016: Could not write to output file 'c:\foo\foo.dll' -- 'The
process cannot access the file because it is being used by another
process. '
If we build in release mode we get this message. If we switch to Debug,
then the release dll is freed, but the debug dll is held. Switching
back to release frees the debug dll up, but then reopens the release
dll. There is no difference that we can see in the project settings
between the two dll's.
Has anyone else seen this?
Steve Mark
Director of Engineering
vCity Inc.
Reply to this message...
Steve Mark
That's what we pretty much found we had to do also, but it's not a
viable solution. Too much overhead while developing. And it happens on
only one project out of 17, so there's got to be something going on.
Steve
[Original message clipped]
Reply to this message...
We ran into the problem several times. There is a knowledge base artical
on it, but dont have a link to it. Basically its a "bug" that if any
project other then the primary web project is of 64k (think this is the
right size) it will have this problem. The supposed work around for this
is to make sure that all your references are project references, however
this has not helped us out. Basically you will most likely need to split
the problem project into 2 or more projects.
-----Original Message-----
From: Steve Mark [mailto:
Click here to reveal e-mail address
]
Sent: Wednesday, August 07, 2002 9:25 AM
To: aspngvs
Subject: [aspngvs] Re: VS Keeping a DLL Reference and Preventing a
Rebuild
That's what we pretty much found we had to do also, but it's not a
viable solution. Too much overhead while developing. And it happens on
only one project out of 17, so there's got to be something going on.
Steve
[Original message clipped]
| [aspngvs] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngvs.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
Reply to this message...
Steve Mark
Good catch! Sure enough, that DLL is the only one over 64K (it's at
69K). Odd bug.
Thanks,
Steve
[Original message clipped]
Reply to this message...
Martin Garins
If someone has the url to this KB article that would great.
I have a large solution with several references both Project and file
based and they are over 64K in size and I do not run into this issue.
I would like to read the article just in case it starts appearing.
Thanks.
Martin Garins, MCSD
Vice President - Technology
e-Intersect Corp.
http://www.e-intersect.com
http://www.jppex.com
-----Original Message-----
From: Steve Mark [mailto:
Click here to reveal e-mail address
]=20
Sent: Wednesday, August 07, 2002 1:16 PM
To: aspngvs
Subject: [aspngvs] Re: VS Keeping a DLL Reference and Preventing a
Rebuild
Good catch! Sure enough, that DLL is the only one over 64K (it's at
69K). Odd bug.
Thanks,
Steve
[Original message clipped]
| [aspngvs] member
Click here to reveal e-mail address
=3D YOUR ID=20
|
http://www.asplists.com/asplists/aspngvs.asp
=3D JOIN/QUIT=20
|
http://www.asplists.com/search
=3D SEARCH Archives
Reply to this message...
Steve Mark
FYI: We just sliced our 69K DLL down to 64K and now it's working.
Thanks for the help!
Steve
P.s. What's the link for that KB article?
-----Original Message-----
From: Robert Chartier [mailto:
Click here to reveal e-mail address
]
Sent: Wednesday, August 07, 2002 1:41 PM
To: aspngvs
Subject: [aspngvs] Re: VS Keeping a DLL Reference and Preventing a
Rebuild
same here..its 68k
/me grumbles
At 11:15 AM 8/7/2002 -0700, you wrote:
[Original message clipped]
Robert Chartier
Author and Developer
604-975-5590
Click here to reveal e-mail address
http://www.aspalliance.com/nothingmn/
| [aspngvs] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngvs.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
Reply to this message...
Sean Lynch
Ok, found it, here is the link to the KB article:
http://support.microsoft.com/default.aspx?scid=kb
;en-us;Q313512
-----Original Message-----
From: Steve Mark [mailto:
Click here to reveal e-mail address
]
Sent: Wednesday, August 07, 2002 6:32 PM
To: aspngvs
Subject: [aspngvs] Re: VS Keeping a DLL Reference and Preventing a
Rebuild
FYI: We just sliced our 69K DLL down to 64K and now it's working.
Thanks for the help!
Steve
P.s. What's the link for that KB article?
-----Original Message-----
From: Robert Chartier [mailto:
Click here to reveal e-mail address
]
Sent: Wednesday, August 07, 2002 1:41 PM
To: aspngvs
Subject: [aspngvs] Re: VS Keeping a DLL Reference and Preventing a
Rebuild
same here..its 68k
/me grumbles
At 11:15 AM 8/7/2002 -0700, you wrote:
[Original message clipped]
Robert Chartier
Author and Developer
604-975-5590
Click here to reveal e-mail address
http://www.aspalliance.com/nothingmn/
| [aspngvs] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngvs.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
| [aspngvs] member
Click here to reveal e-mail address
= YOUR ID
|
http://www.asplists.com/asplists/aspngvs.asp
= JOIN/QUIT
|
http://www.asplists.com/search
= SEARCH Archives
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com