.NETGURU
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...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification