ChrisHammond / DNNTemplates

Christoc's DotNetNuke Extension Development templates for Visual Studio
http://www.christoc.com/Products/DNN-Development-Templates
Other
97 stars 38 forks source link

Problem with iPortable #78

Closed jncraig closed 2 years ago

jncraig commented 2 years ago

I created a new module called iPortableTest. Then I started uncommenting the iPortable pieces in FeatureController.

I'm getting errors like this on line 55:

List coliPortableTests = GetiPortableTests(ModuleID);

iPortableTestInfo and GetiPortableTests are both undefined.

Is the a bug or something that I did?

ChrisHammond commented 2 years ago

I honestly haven't touched iPortable in a number of years, so not 100% sure

jncraig commented 2 years ago

I think that this is a classic ID10T problem. Cheers!

ChrisHammond commented 2 years ago

Most likely ;)

Which template did you use? I'll try it out

jncraig commented 2 years ago

No, it's not a problem.

I got v10.? from the DNN store.

I think that the problem is that this version doesnt seem to create the "Items" list so the class and the controller don't exist with those names. That easy enough for me to fix.

ChrisHammond commented 2 years ago

But there's DAL/DAL2/SPA/MVC/C#/VB.net, was hoping to try to recreate your experience

jncraig commented 2 years ago

I'll give it another shot, and hopefully I'll be careful this time!

jncraig commented 2 years ago

I went back and did things carefully.

I think that the only problem was using IPortable in the module's name. That confused things because IPortable was used in the namespace, and the compiler didn't like it.

I think ...

Aside from changing the module name, everything was successful.