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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsProblem for Customize events moduleProblem for Customize events module
Previous
 
Next
New Post
4/20/2008 9:56 PM
 

I am using VS 2008, DNN4.08, and its a website project (DNN template).

For the Events module, I download the Events_03.03.08_Source.zip, and installed

it from my DNN website. Then from VS 2008, I modified the EditEvents.ascx and its codebehind

EditEvents.ascx.vb. I can build the page and website sucessfully after the modification. But the change

to the EditEvents.ascx.vb doesn't take effect (e.g. instead loading from original source, I load the category

dropdownlist with other source, but still the category is loaded from the original source).

I seems that the changes to the codebehind files are not compiled, should I modified this file "BuildSupport.vbproj"

or should I configure the some debug parameters?

The .pdb file is automatically generated, right?

Fuji Nguyen wrote

What is your development tool (VS 2003, 2005, 2008)?  Can you describe how you setup the Events module source?  Do you use web application project or web site project model?

 
New Post
4/21/2008 3:41 AM
 

By default the .dll and .pdb files will almost certainly be being generated into the bin directory under Desktopmosules\events, rather in the bin directory below the root of the website. You should be able to check this be looking at the creation date of the files there. To have them created in the Root/Bin directory, what I do is right click on the project in Visual Studio and change build output path on the compile tab. Bear in mind there are four projects in events module. It likely you will only change Events and SQLDataProvider projects, so you perhaps only need to change the build paths for those, depends whether you want to debug across all of them.

It's possible this may only change the Release build path, and not the Debug build path. This is what happened with our 4.0.0 build in VS2008. So I ended up editing the VBProj file by hand, so make the two paths the same. You should see them in there, but they will look like ../bin, or ../../bin.

Bear in mind this is what I do, only because I don't know better. It may be there is a way of having the desktopmodules/events/bin directory added to the run path, but I've never made the effort to find out how. So if someone wants to enlighten me that would be great, because it would make my life easier

Cheers
Roger


DNN MVP
Events - Get the latest version - Upgrade now!!
Feedback 6.4.2 - Now available - Give it a go!
Find us on Codeplex - DNN Events, DNN Feedback
Requirements/Bugs - Please submit them on Codeplex
 
New Post
12/19/2008 10:41 AM
 

I'm encountering the same thing when attempting to modify the Events module.  I cannot set breakpoints in any of the vb code behind the Event controls.  If I rebuild everything with debugging on, I get a new SqlDataProvider.dll, ScheduleControl.dll, and WebControls.dll with symbols, but I cannot for the life of me find what generates the DotNetNuke.Modules.Events.dll.

Any help you could provide would be greatly appreciated.  I'm using Events source code version 04.00.02.

Thanks!

 
New Post
12/19/2008 4:14 PM
 

Okay, I believe I've figured it out, but not without much detective work.

It turns out that in the source package for the Events module, there is something in the DotNetNuke.Events.vbproj that keeps it from being loaded in VS 2008.  Therefore, whenever you open the DNN.Events solution in VS, which in turn loads the four subprojects, the DotNetNuke.Events subproject does not get loaded--which means that it does not get rebuilt whenever you do a clean build.  So, you're left with the DotNetNuke.Events.dll that was packaged with the module, which doesn't have debugging symbols.

What worked for me was:

1.  Edit the DotNetNuke.Events.vbproj file by hand.  I think the key is the Visual Studio block at the end of the file.  Remove that block, and save the file.

2.  Bring up the DotNetNuke.Events.sln file with VS 2008.

3.  Make sure debug mode is turned on in the compiler to generate the symbols.

4.  Build the solution, generating the 4 DLLs.

4a.  If you get a build error regarding Framework, make sure that the References point to a valid DotNetNuke.dll.

5.  Bring up your DNN web site in VS 2008, and set a breakpoint in the code.

6.  Voila, c'est parfait!

I've only been working with DNN/.NET/Windows for a couple of weeks, but I've got plenty of C++/Unix experience.  If any of you more experienced .NET folks have some advice on a better way to address this issue, please edumacate me.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsEventsEventsProblem for Customize events moduleProblem for Customize events 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