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...DNN Platform (o...DNN Platform (o...How to debug compiled modules in vs 2008?How to debug compiled modules in vs 2008?
Previous
 
Next
New Post
10/5/2008 5:42 AM
 

Hi Gurus

I am sure this is an old question. I've searched and googled but haven't found the answer for vs2008. Please could someone point me to the right web page/help file/blog/forum post.

Regards

Geoffrey


Geoffrey Morton-Haworth www.yalaworld.net
 
New Post
10/5/2008 3:24 PM
 

Hey Geoffrey,

Here is what my setup is - maybe that will help:

First, I have a DotNetNuke (source version) development site set up. This is http://localhost/DotNetNuke @ c:\inetpub\wwwroot\DotNetNuke\Website

I then create a new module inside the DesktopModules folder of the website -> c:\inetpub\wwwroot\DotNetNuke\Website\DesktopModules\MyModule

In the module's project files, I set the build output to the bin directory of the website ("..\..\bin") and I set it to launch the website http://localhost/DotNetNuke when you run the project.

After you create a module definition within your DotNetNuke site, you can either run your site, or attach to process, and be debugging your module, while running your dotnetnuke site.

Hope that helps!

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
10/12/2008 5:08 PM
 

Hi Geoffrey,

The way I do that is in Visual Studio, I load up the project for my module, and then Go to Debug > Attach to Process.  From there I select my w3wp.exe and that lets me start debugging my module.

 
New Post
10/15/2008 4:01 AM
 

Hi Tony and Ian

Thank you both for your answers. My problem is that I have a suite of 14 modules, all Web Application Projects, under one VS2008 solution and each is divided into the aspx pages and a separate sqldataprovider. So they compile to 28 dlls.

When I attach to process, 28 copies of the ASP.NET Development Server open but not the DNN Web Site in IIS. How should I configure each projects MyProject Web tab? If I select Use IIS WEb Server and give my project URL (http://localhost/DNNDevEnv) it first tells me that I have to configure  aVirtual Directory (it is already an application) and then tells me I can't. Any suggestions?

Regards

Geoffrey

PS PowerDNN host my site www.yalaworld.net and I am very pleased with your service.


Geoffrey Morton-Haworth www.yalaworld.net
 
New Post
10/15/2008 5:21 PM
 

Geoffrey, Charles addressed that problem in a blog post when VS 2008 came out.  The basic jist is to just go with it, let it create a virtual directory in IIS (delete your existing one if necessary) and then it'll be setup right.

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...How to debug compiled modules in vs 2008?How to debug compiled modules in vs 2008?


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