Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6091249
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:18:22+00:00 2026-05-23T12:18:22+00:00

I am working on a DLL that a webservice I have uses, I added

  • 0

I am working on a DLL that a webservice I have uses, I added some new code and would like to compile and debug into it via an NUnit testing suite. The steps I have taken are.

  1. Write my code in Visual Studio 2008 with the output directory pointing to my applications bin directory (C:\Program Files\etc…).

  2. When I launch my webservice process and attach to it, I get the warning that my program was built without debug information, I found that if I copied the .pdb files in the the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\... directory then I could avoid warning but still not hit my code section.

  3. I stopped my application, re-built my DLL’s, and re-started the web application.

  4. Upon further inspection, I noticed that when I stopped my application via. process explorer and deleted the sub-directory under the Temporary ASP.NET directory, then when I restarted my process the sub-directories get re-created, however they do not contain the new DLL’s that I had just previously built but an older version of the DLL’s, and no PDB files either.

To sum it up my question is how do I get Visual Studio to both build and update the DLL’s in the temporary ASP.NET directory? For more kudo’s how do I get Visual Studio to automatically copy the PDB files to the same temporary directory without any batch assistance?

Ideally I would like to avoid this automatic copying of my DLL’s to the temporary directory, but through my searching today I could not find any suitable way to do this as the ASP internals are quite out of my control.

NOTE: I have the shadow copy feature on NUnit disabled when I hit my webservice via an external executable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:18:22+00:00Added an answer on May 23, 2026 at 12:18 pm

    Figured this out, needed to build into the ASP.NET Websites bin directory in order to get new DLL’s. Changed output paths from C:\Program Files\MyApp\Bin to C:\Program Files\MyApp\MyWebService\Bin, this seemed to solve the issues I was having and the new DLL’s get copied and all the debugging works.

    Cheers!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on an application that imports an unmanaged dll into C#. It
I am working with a C# project that uses the dll, Microsoft.Dynamics.AX.ManagedInterop to work
I have a working c++ dll that works in one c# project that I
Good afternoon, I have been working on a dll that can use CORBA to
I have a bit of code for a dll that is needed by two
I have a COM dll that is working fine as an in-proc server and
I have a dll that is working well on my computer but doesn't work
In fact, I got a C++ (working) DLL that I want to import into
I have a DLL that gets loaded in my application, like so: procedure LoadTessDLL;
I have a custom dll (CustomSoapExtension.dll) that I use in another webservice client (a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.