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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0A question about packaging dlls for a module...A question about packaging dlls for a module...
Previous
 
Next
New Post
2/24/2007 10:56 PM
 

Hello:

Well, I've finally been able to finish updating a module from 3 to 4.  I used Michael Washington's tutorials (I don't know how I would have done it w/o those tutorials....thanks Michael) to get there.

Specifically, to package the module and access the dlls, I read the following tutorial:

http://www.adefwebserver.com/DotNetNukeHELP/DNN_PackageModule/

Now, here's the issue.  Though I had a 'MyModule' folder in App_Code, and also a 'MyModule' in the DesktopModules folder, The following are the only files I could find that had anything to do with the module I updated and which is working fine, compiling fine, etc:

App_Web_viewmymodule.ascx.296815a2.dll

App_Code.dll

I don't think the 'App_Code.dll' is the dll I want.  I want a dll that looks like 'App_SubCode_MyModule.dll'.  However, there isn't one in the 'compiled/bin' folder.  There is a App_SubCode_Reports.dll dll, which was the other folder in the App_Code folder, but no dll for MyModule.

The closest dll to mymodule was the 'App_Web_viewmymodule.ascx.296815a2.dll' dll.  But it doesn't look quite like the GuestBook, since it adds all those funny numbers at the end, and it is specifically a 'view' dll.

Is there any way at all to create a dll that looks like the dotnetnuke.dlls?  This new way of getting a dll is driving me crazy.  Do I have VS2005 configured incorrectly?  Is that why I am not seeing a App_SubCode_MyModule.dll file?  While debugging the module, I had some very strange things going on--like not receiving the PageLoad event in my module.  As soon as I removed the text/html module from the page, the module started to work correctly and I was receiving the PageLoad event in the debugger.  Go figure.

But I have no confidence that I have all the dlls required.  I tried to install the App_Code.dll and the other one above in a package, but I rec'd an error.  How is it that a module could work perfectly fine, but I don't see any dlls?  I would give all my toes to be able to have a project which is similar to 3.x and would just put a mymodule.dll in the bin folder.

 

 
New Post
2/25/2007 8:28 PM
 

Do you have to distribute your module as an assembly (.dll)? The source code version works exactly the same?.If you need an assembly because you want to protect your intellectual property use:

Using Web Application Projects (WAP)

You must have Visual Studio 2005 to use this. It will not work with the free Visual Web Developer express.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
2/26/2007 2:45 AM
 

And if you're using Web Application Projects, might want to check out my tutorial on the subject, as it gives you a bit of a different approach on WAP (the original approach to WAP actually).

The link can be found in my sig.

Hope it helps


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0A question about packaging dlls for a module...A question about packaging dlls for a 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