Forum


HomeHomePremiumPremiumDevelopmentDevelopmentChridtoc's module templates for DNN6 failed in VS2013 CommunityChridtoc's module templates for DNN6 failed in VS2013 Community
Previous
 
Next
New Post
9/3/2015 7:06 PM
 

Hi!

I have 2 questions regarding module development:

(1) Can I develop modules using Windows Forms, and not MVC? - I think Christoc's template for DNN6 was for WebForms, but...

(2) Christoc's tamplate fails when trying to créate the Project in VS2013 Community. This is the error message. "Operation could not be completed. The Project file 'C:\USUARIO\AppData\Local\Tempo\ryj6zosz.c1s \Temp\MyModule.csproj' cannot be migrated. See migration report for details."

Is it imposible to use those module templates on VS 2013?

Thanks!

 
New Post
9/4/2015 3:53 AM
 

Hi Adrian,

1 - No sure if I get that, but you cannot "Windows Forms". It is wither WebForms or MVC. Windows Form is for DeskTop App Development;

2 - That I'm not sure but I will ask Scott's opinion.

Cheers,

Aderson

 
New Post
9/4/2015 7:23 AM
 

Hi Aderson!

Sorry about that. I was trying to say WebForms. :)

And regarding the problem when trying to use Christoc's templates; I was trying to use version 00.00.09 and 00.00.08

I was following your video here: http://www.dnnhero.com/Premium/Tutorial/ArticleID/41/Configuring-the-DotNetNuke-Module-Template-Part-2-3

Thanks for your answer!

Adrián.

 
New Post
9/5/2015 5:48 AM
 

Adrian,

All of Chris Hammond's templates are Webforms because the DNN platform won't officially support MVC module development until v8 release in October/2015.

Chris didn't add VS2013 compatibility until v2.5 of his template.  Starting in v2.0 of his template, he requires DNN v7, so I don't think you can use any template previous to that to do development on DNN6 and VS2013.  It may not be that hard to install the v2.5 template, create a module project in a DNN7 environment, and then moved it to a DNN6 install and fix any build errors.  Haven't tried it, but it's worth a shot. 

 
New Post
9/11/2015 5:52 PM
 

Hi Scott.

You're right about WebForms; I don't know why I was thinking these templates were for MVC.

Now I'm trying to follow your videos on Module Development, and got a weird behaviour.

I'm in the  Module View Navigation in DNN - Part 3/6 , and when I try to Add a record, using the "Add Item" menú, after I click "Save" in the popup window, the module displays this error:

Error: ViewsTutorial is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuclear.Modules.ViewsTutorial.View.rptItemListOnItemDataBound(Object sender, RepeaterItemEventArgs e) in c:\Users\USUARIO\Documents\Visual Studio 2013\Websites\dnndev.me\DesktopModules\DotNetNuclear.ViewsTutorial\View.ascx.cs:line 75 at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at DotNetNuclear.Modules.ViewsTutorial.View.Page_Load(Object sender, EventArgs e) in c:\Users\USUARIO\Documents\Visual Studio 2013\Websites\dnndev.me\DesktopModules\DotNetNuclear.ViewsTutorial\View.ascx.cs:line 45 --- End of inner exception stack trace ---

It has to do with View.ascx, and maybe with the ListOnitemDataBound event. Or is it because I don't have the website within "inetpub..."?

I hope you can help me with this one!

Thanks for your support.

 
Previous
 
Next
HomeHomePremiumPremiumDevelopmentDevelopmentChridtoc's module templates for DNN6 failed in VS2013 CommunityChridtoc's module templates for DNN6 failed in VS2013 Community



Try FREE
30 days money back guaranteed