Register   Login
     
  Latest Posts  
RE: Zoom for map
by richardcook on 1/08/2009 6:39 PM
RE: Does anyone have XHTML Compliant PA Template
by tmahmud on 1/08/2009 5:47 PM
Simple Lightbox
by eureka on 1/08/2009 5:39 PM
RE: Does anyone have XHTML Compliant PA Template
by netmds on 1/08/2009 5:21 PM
User Profile Integration
by blob150 on 1/08/2009 5:07 PM
RE: RSS and Calendar Icons not showing in new template
by lolorn on 1/08/2009 4:38 PM
RE: Ligtbox effect does not working in DNN 5
by smcculloch on 1/08/2009 3:38 PM
Use Lists in host menu in custom field
by Codepoint on 1/08/2009 3:32 PM
RE: 4.9.0 and 5.0.0 with Simple gallery
by insomnia on 1/08/2009 3:07 PM
RE: 4.9.0 and 5.0.0 with Simple gallery
by insomnia on 1/08/2009 2:56 PM
  Forums  
Subject: CodeSmith Templates - DNN 3 Issue
Prev Next
You are not authorized to post a reply.

Author Messages
Mark VermeulenUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:2

5/06/2005 7:15 AM  

First, I must apologize for being a novice. We are working with DotNetNuke and I had developed some C# modules in version 2.  The modules were nothing special but were specific to our internal operations. I want to redo these modules in version 3 and am going through the process of setting up my development environment. I also would like to continue developing in C# since I am at least somewhat more familiar with it.


I have followed the Development document, Bo Norgaard's site and several of the forums recommendations on how to setup and get started.  I downloaded the Codesmith templates as well as the Visual Studio DNN Templates.  Everything seemed to be going pretty good (several tries but still moving in the right direction).  I ran all 5 Codesmith templates and supposedly plugged everything into the right locations.  I am getting the following errors when I compile the solution....


C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\BuildStatus\BuildStatus.ascx.cs(49): 'Fiserv.DNN.Modules.BuildStatus.Business.BuildStatusController' does not contain a definition for 'GetByModules'


Metadata file 'C:\Inetpub\wwwroot\DotNetNuke\bin\Fiserv.DNN.Modules.BuildStatus.SqlDataProvider.dll' could not be found
Metadata file 'C:\Inetpub\wwwroot\DotNetNuke\DesktopModules\BuildStatus\obj\Debug\Fiserv.DNN.Modules.BuildStatus.dll' could not be found


I cannot find anywhere in the template results where this GetByModules definition is generated.


I could really use some help in getting past this initial hurdle. I think there enough C# examples popping up out there to use on building the modules but there still appear to be some real differences in how everyone builds the initial environment/template.


THANKS!


Mark Vermeulen


mvermeulen


 

Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12819


5/06/2005 3:51 PM  

Ok, this is a big topic.


I think the metadata issue is because the project has not been built properly which is OK.


The other method, well, I would check the templates to see if it was generated, if it wasn't, then it might be something peculiar about your table definition. Is it a simple table?


Scott McCulloch
Site Administrator
Mark VermeulenUser is Offline
Registered Users
Nuke Newbie
Nuke Newbie
Posts:2

5/18/2005 9:11 AM  
Hi Scott,

Well I have worked through several examples, tutorials, bugs since the original post and hopefully I can convey what I found out.

First, I reviewed the training tutorials that Todd Davis created and has made available. You can get them at either DotNetNuke.com or www.seaburydesign.com. Many thanks to Todd for these terrific lessons. These are great for any reason to get you started setting up a DNN 3.x development environment and using the tools that are available, such as CodeSmith.

I put together three seperate solutions, one using the DotNetNuke.sln with the projects I am working on added. Second, a VB solution following Todd's recommendations/structure. Lastly, a C# solution still following Todd's structure but obviously modified where necessary. This is about where my original error came into play. The video tutorials actually reproduced what I had originally found and helped me to move past. The templates simply had several generic items that I needed to have a better idea of how to deal with them within my own module.

So, I can't say enough about the time Todd put into the tutorials. By walking through the creation of a new project from the perspective of someone like me, he ran across all the errors/issues that I would have had to deal with and it left me with a much better appreciation (understanding).

Long story short... I now have a C# custom module with a functioning view and edit control.

Thanks! Mark
You are not authorized to post a reply.
Forums > General > DotNetNuke Questions > CodeSmith Templates - DNN 3 Issue



ActiveForums 3.7