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 ExtensionsModulesModulesmodule builds but does not create a dll?module builds but does not create a dll?
Previous
 
Next
New Post
11/26/2017 1:19 PM
 
​I have a project with multiple modules in it.  The main module has a few vb class files in it that contain all of the business logic layer to access the database.  For some reason this module has stopped creating a DLL but throws no errors at compile time?   any idea where to start looking to trouble shoot.  The other strange this is this module started showing errors about the dotnetnuke.entities.modules.portalmodulebase was not defined.  I opened the file with the error and the error goes away and I build the module, and there are no errors?  


I have the project files zipped up but I don't see where I can share them in this post.  I will be happy to share any of the code for some assistance.

Thank you,

 
New Post
11/26/2017 4:55 PM
 

I created a new solution and only included this one module in it.

I created a new DNN 8.0.4.226( i know its not the most current ) site with only this one module in it

I build the site and get 70 errors in my module.  All of them will go away when I open each of the files in the project.

I do the build again, and no errors, but no DLL

I close all of the files, build and the 70 errors come back.

Each ascx.vb file has error

Severity Code Description Project File Line Suppression State

Error BC30002 Type 'Entities.Modules.PortalModuleBase' is not defined.

 


 
New Post
11/26/2017 6:30 PM
 
What kind of visual studio are you using? try using recent version.
make sure your module project references point to the DLLs from the DNN website bin folder.

DNN services, Design, Hosting & Development http://lead-it.net
 
New Post
11/26/2017 7:10 PM
 

I am using VS community 2017 version 15.1

I removed the DotNetNuke reference in the project and added it back. Pointed it to the DotNetNuke.dll in the bin folder of the site

Still got the same results

 

 

 
New Post
12/8/2017 12:21 AM
 
which module template did you use?

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesmodule builds but does not create a dll?module builds but does not create a dll?


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out