Building A Project's DLL

G

Guest

When I build my solution, one of my project's dll files is not being updated
in the directory specified in the properties of the project. When I search
my computer for the dll file, I find the updated copy in the winnt directory.
I usually can get the dll to update in the proper location after closing and
reopening visual studio and/or rebooting my PC. This is an intermittent
problem. Any ideas?
 
K

Kevin Yu [MSFT]

Hi John,

Since the dll cannot be updated, I assume that some process is using the
dll file. Is the dll a managed one or unmanaged? Is it built with one of
your projects? Is there any ASP.NET project in your solution. There might
be some asp.net project that is using the dll. Here I suggest you use
handle.exe tool to check if it is being used. You can download handle.exe
from the following link:

http://www.sysinternals.com/utilities/handle.html

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
G

Guest

--
John@Work


Kevin Yu said:
Hi John,

Since the dll cannot be updated, I assume that some process is using the
dll file. Is the dll a managed one or unmanaged? Is it built with one of
your projects? Is there any ASP.NET project in your solution. There might
be some asp.net project that is using the dll. Here I suggest you use
handle.exe tool to check if it is being used. You can download handle.exe
from the following link:

http://www.sysinternals.com/utilities/handle.html

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Thanks for the response Kevin.

The dll in question is the code-behind for my asp.net project. My project
is titled IAC.DNN.MOdules.EventManagementListing, and the dll I am having
trouble with is IAC.DNN.Modules.EventManagementListing.dll.

The dll is being updated, but it is being updated in a directory in winnt.
It is not always updated in the directory in which I need it -
c:\dotNetNuke\bin.

I'm not sure if the dll is managed or unmanaged. There are a number of
asp.net projects in my solution.

I downloaded the handle utility and will execute it against my dll the next
time it doesn't update in my dotnetnuke/bin directory.

Thanks again for the response!
 
G

Guest

--
John@Work


JohnAtWork said:
--
John@Work




The dll in question is the code-behind for my asp.net project. My project
is titled IAC.DNN.MOdules.EventManagementListing, and the dll I am having
trouble with is IAC.DNN.Modules.EventManagementListing.dll.

The dll is being updated, but it is being updated in a directory in winnt.
It is not always updated in the directory in which I need it -
c:\dotNetNuke\bin.

I'm not sure if the dll is managed or unmanaged. There are a number of
asp.net projects in my solution.

I downloaded the handle utility and will execute it against my dll the next
time it doesn't update in my dotnetnuke/bin directory.

Thanks again for the response!

I went ahead and did a search for all iac.dnn.modules.eventManagementListing.dll files, and deleted them. I rebuilt my project, and an updated dll was output to dotNetNuke/bin directory.
 
K

Kevin Yu [MSFT]

Hi John.

It seems that the problem is resolved. Thanks for sharing your experience
with all the people here. If you have any questions, please feel free to
post them in the community.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top