Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCannot debug my moduleCannot debug my module
Previous
 
Next
New Post
5/10/2011 4:15 AM
 
Thanks for the checklist, I have a question though



2) check that the .pdb file matches the .dll file in the bin directory-- Should it be the bin folder of my project of the bin folder of my website?



3) check that the .pdb file is in the bin directory-- Should it be the bin folder of my project of the bin folder of my website?



And I am loading my project not the entire website. But I'm glad you said that because I have never been sure if that's a good way to do it.







 
New Post
5/10/2011 8:41 AM
 
In all cases it should be the bin directory of the website.



I always have a small batch file which copies the files from my project build directory to my website bin directory.   I have many different versions of DNN under a common path, all with the same \website path.  Therefore I can run my batch file to copy from the project directory to the specified DNN version, which is essentially copy *.dll \dotnetnuke\dnnxxx\website\bin - repeated for the .pdb files as well.  I recommend this type of approach.  You can also hook this batch file up to your project build as a build step if desired.  This way you can quickly and easily test different versions of DNN (if needed, you might only be targeting a single version)



Doing it this way also helps to copy any other project related content, such as .ascx, .css , .js files - all of which needs to be copied to the DNN website as a package (and it saves having to build an install package and install every time).

 
New Post
5/10/2011 1:44 PM
 
Thanks for the info.Right now I have the build output set to the dnn website bin folder. Is that okay?
 
New Post
5/10/2011 6:36 PM
 
Yes that's OK, but introduces a dependency between your module code and that database.  Just something to be aware of.

If the module contains more than just the bin file, remember you have to keep all of the files synchronised.

 
New Post
5/11/2011 12:53 AM
 
So then its better to have the dlls output to my project bin and then copy them post build to my website bin?
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCannot debug my moduleCannot debug my module


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out