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 ExtensionsModulesModulesError is showing while packaging custom module created using DotNetNuke 7 C# Compiled ModuleError is showing while packaging custom module created using DotNetNuke 7 C# Compiled Module
Previous
 
Next
New Post
6/21/2013 10:03 AM
 

I have downloaded latest version of dotnetnuke (7.0.6) with the community edition and followed below steps:

  • I have put the source code at D:\......\DotNetNukeDemo\DotNetNuke_Community_07.00.06_Source(1).
  • I opened project in VS 2012, run it and installed the site using install wizard of dotnetnuke.
  • Created a site in IIS with dnndev.me pointing to D:\......\DotNetNukeDemo\DotNetNuke_Community_07.00.06_Source(1)/website.
  • Run the site and everything seems to be fine. I have also modified the skin and their controls and everything is working fine.

Now, I wanted to implement custom module for which I followed below steps:

  • Installed Visual Studio Templates for DotNetNuke from Nuget.
  • Created a project using "DotNetNuke 7 C# Compiled Module" with location "D:\....\DotNetNukeDemo\DotNetNuke_Community_07.00.06_Source(1)\website\DesktopModules" and created successfully
  • I build the project and it got successfully build and I tried to build it in release mode and I got following error:

Error    2    The "MSBuild.Community.Tasks.XmlRead" task could not be loaded from the assembly D:\.....\DotNetNukeDemo\DotNetNuke_Community_07.00.06_Source%281%29\website\DesktopModules\MyTestingDNNCompiledModule\\packages\MSBuildTasks.1.4.0.61\tools\MSBuild.Community.Tasks.dll. Could not load file or assembly 'file:///D:\......\DotNetNukeDemo\DotNetNuke_Community_07.00.06_Source%281%29\website\DesktopModules\MyTestingDNNCompiledModule\packages\MSBuildTasks.1.4.0.61\tools\MSBuild.Community.Tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.    MyTestingDNNCompiledModule

 I googled this error and tried with each possible solution to resolve this error and still I am not able to create package for this module.

 I also tried to NANT packaging tool, but still I received build error in release mode.

Please guide me to proceed with the development.

 Thanks,

John Smith


 
New Post
6/24/2013 6:20 AM
 
Since I am very new to this, I am not sure if the steps I have followed are correct? any help will be greatly appreciated.
 
New Post
6/29/2013 11:10 AM
 
I'd recommend using Christoc's DotNetNuke Module Development Template (http://christoctemplate.codeplex.com).
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesError is showing while packaging custom module created using DotNetNuke 7 C# Compiled ModuleError is showing while packaging custom module created using DotNetNuke 7 C# Compiled 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